Trait ckb_rocksdb::ops::Merge
source · pub trait Merge<W> {
// Required method
fn merge_full<K, V>(
&self,
key: K,
value: V,
writeopts: Option<&W>
) -> Result<(), Error>
where K: AsRef<[u8]>,
V: AsRef<[u8]>;
// Provided methods
fn merge<K, V>(&self, key: K, value: V) -> Result<(), Error>
where K: AsRef<[u8]>,
V: AsRef<[u8]> { ... }
fn merge_opt<K, V>(
&self,
key: K,
value: V,
writeopts: &W
) -> Result<(), Error>
where K: AsRef<[u8]>,
V: AsRef<[u8]> { ... }
}
Required Methods§
fn merge_full<K, V>( &self, key: K, value: V, writeopts: Option<&W> ) -> Result<(), Error>where K: AsRef<[u8]>, V: AsRef<[u8]>,
Provided Methods§
fn merge<K, V>(&self, key: K, value: V) -> Result<(), Error>where K: AsRef<[u8]>, V: AsRef<[u8]>,
fn merge_opt<K, V>(&self, key: K, value: V, writeopts: &W) -> Result<(), Error>where K: AsRef<[u8]>, V: AsRef<[u8]>,
Object Safety§
This trait is not object safe.