[][src]Trait parity_rocksdb::rocksdb::Writable

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>

Loading content...

Implementors

impl Writable for DB[src]

impl Writable for WriteBatch[src]

Loading content...