apply Read/Write/FlushOptions where available for future usage
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
20c089b7ed
commit
fcca352795
2 changed files with 54 additions and 17 deletions
|
@ -30,6 +30,7 @@ pub(crate) trait KeyValueDatabaseEngine: Send + Sync {
|
|||
pub(crate) trait KvTree: Send + Sync {
|
||||
fn get(&self, key: &[u8]) -> Result<Option<Vec<u8>>>;
|
||||
|
||||
#[allow(dead_code)]
|
||||
#[cfg(feature = "rocksdb")]
|
||||
fn multi_get(
|
||||
&self, iter: Vec<(&Arc<rust_rocksdb::BoundColumnFamily<'_>>, Vec<u8>)>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue