Simplify return type of most route handlers

This commit is contained in:
Jonas Platte committed 2022-02-12 12:56:08 +01:00
1 parent 77a87881c9
commit 5fa9190117
38 files changed
+358 -414

No files matched your search

+5 -1
View File
@@ -1,6 +1,10 @@
use super::{super::Config, watchers::Watchers, DatabaseEngine, Tree};
use crate::{utils, Result};
use std::{future::Future, pin::Pin, sync::Arc, sync::RwLock};
use std::{
future::Future,
pin::Pin,
sync::{Arc, RwLock},
};
pub struct Engine {
rocks: rocksdb::DBWithThreadMode<rocksdb::MultiThreaded>,