kvdb: remove KeyValueDBHandler
@@ -158,10 +158,3 @@ pub trait KeyValueDB: Sync + Send + parity_util_mem::MallocSizeOf {
IoStats::empty()
}
}
-
-/// Generic key-value database handler. This trait contains one function `open`.
-/// When called, it opens database with a predefined config.
-pub trait KeyValueDBHandler: Send + Sync {
- /// Open the predefined key-value database.
- fn open(&self, path: &Path) -> io::Result<Arc<dyn KeyValueDB>>;
-}
