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