Trait engine_traits::SyncMutable[][src]

pub trait SyncMutable {
    fn put(&self, key: &[u8], value: &[u8]) -> Result<()>;
fn put_cf(&self, cf: &str, key: &[u8], value: &[u8]) -> Result<()>;
fn delete(&self, key: &[u8]) -> Result<()>;
fn delete_cf(&self, cf: &str, key: &[u8]) -> Result<()>;
fn delete_range(&self, begin_key: &[u8], end_key: &[u8]) -> Result<()>;
fn delete_range_cf(
        &self,
        cf: &str,
        begin_key: &[u8],
        end_key: &[u8]
    ) -> Result<()>; fn put_msg<M: Message>(&self, key: &[u8], m: &M) -> Result<()> { ... }
fn put_msg_cf<M: Message>(&self, cf: &str, key: &[u8], m: &M) -> Result<()> { ... } }

Required methods

fn put(&self, key: &[u8], value: &[u8]) -> Result<()>[src]

fn put_cf(&self, cf: &str, key: &[u8], value: &[u8]) -> Result<()>[src]

fn delete(&self, key: &[u8]) -> Result<()>[src]

fn delete_cf(&self, cf: &str, key: &[u8]) -> Result<()>[src]

fn delete_range(&self, begin_key: &[u8], end_key: &[u8]) -> Result<()>[src]

fn delete_range_cf(
    &self,
    cf: &str,
    begin_key: &[u8],
    end_key: &[u8]
) -> Result<()>
[src]

Loading content...

Provided methods

fn put_msg<M: Message>(&self, key: &[u8], m: &M) -> Result<()>[src]

fn put_msg_cf<M: Message>(&self, cf: &str, key: &[u8], m: &M) -> Result<()>[src]

Loading content...

Implementors

Loading content...