Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions kvdb/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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>>;
}