Trait engine_rocks::raw::Writable[][src]

pub trait Writable {
    pub fn put(&self, key: &[u8], value: &[u8]) -> Result<(), String>;
pub fn put_cf(
        &self,
        cf: &CFHandle,
        key: &[u8],
        value: &[u8]
    ) -> Result<(), String>;
pub fn merge(&self, key: &[u8], value: &[u8]) -> Result<(), String>;
pub fn merge_cf(
        &self,
        cf: &CFHandle,
        key: &[u8],
        value: &[u8]
    ) -> Result<(), String>;
pub fn delete(&self, key: &[u8]) -> Result<(), String>;
pub fn delete_cf(&self, cf: &CFHandle, key: &[u8]) -> Result<(), String>;
pub fn single_delete(&self, key: &[u8]) -> Result<(), String>;
pub fn single_delete_cf(
        &self,
        cf: &CFHandle,
        key: &[u8]
    ) -> Result<(), String>;
pub fn delete_range(
        &self,
        begin_key: &[u8],
        end_key: &[u8]
    ) -> Result<(), String>;
pub fn delete_range_cf(
        &self,
        cf: &CFHandle,
        begin_key: &[u8],
        end_key: &[u8]
    ) -> Result<(), String>; }

Required methods

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

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

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

pub fn merge_cf(
    &self,
    cf: &CFHandle,
    key: &[u8],
    value: &[u8]
) -> Result<(), String>
[src]

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

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

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

pub fn single_delete_cf(&self, cf: &CFHandle, key: &[u8]) -> Result<(), String>[src]

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

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

Loading content...

Implementations on Foreign Types

impl Writable for WriteBatch[src]

Loading content...

Implementors

impl Writable for DB[src]

Loading content...