Trait parity_rocksdb::rocksdb::Writable [−][src]
pub trait Writable { fn put(&self, key: &[u8], value: &[u8]) -> Result<(), String>; fn put_cf(&self, cf: Column, key: &[u8], value: &[u8]) -> Result<(), String>; fn merge(&self, key: &[u8], value: &[u8]) -> Result<(), String>; fn merge_cf(
&self,
cf: Column,
key: &[u8],
value: &[u8]
) -> Result<(), String>; fn delete(&self, key: &[u8]) -> Result<(), String>; fn delete_cf(&self, cf: Column, key: &[u8]) -> Result<(), String>; }
Required Methods
fn put(&self, key: &[u8], value: &[u8]) -> Result<(), String>
fn put_cf(&self, cf: Column, key: &[u8], value: &[u8]) -> Result<(), String>
fn merge(&self, key: &[u8], value: &[u8]) -> Result<(), String>
fn merge_cf(&self, cf: Column, key: &[u8], value: &[u8]) -> Result<(), String>
fn delete(&self, key: &[u8]) -> Result<(), String>
fn delete_cf(&self, cf: Column, key: &[u8]) -> Result<(), String>
Implementors
impl Writable for DB
impl Writable for WriteBatch