Trait ckb_rocksdb::ops::Merge

source ·
pub trait Merge<W> {
    // Required method
    fn merge_full<K, V>(
        &self,
        key: K,
        value: V,
        writeopts: Option<&W>
    ) -> Result<(), Error>
       where K: AsRef<[u8]>,
             V: AsRef<[u8]>;

    // Provided methods
    fn merge<K, V>(&self, key: K, value: V) -> Result<(), Error>
       where K: AsRef<[u8]>,
             V: AsRef<[u8]> { ... }
    fn merge_opt<K, V>(
        &self,
        key: K,
        value: V,
        writeopts: &W
    ) -> Result<(), Error>
       where K: AsRef<[u8]>,
             V: AsRef<[u8]> { ... }
}

Required Methods§

source

fn merge_full<K, V>( &self, key: K, value: V, writeopts: Option<&W> ) -> Result<(), Error>where K: AsRef<[u8]>, V: AsRef<[u8]>,

Provided Methods§

source

fn merge<K, V>(&self, key: K, value: V) -> Result<(), Error>where K: AsRef<[u8]>, V: AsRef<[u8]>,

source

fn merge_opt<K, V>(&self, key: K, value: V, writeopts: &W) -> Result<(), Error>where K: AsRef<[u8]>, V: AsRef<[u8]>,

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T, W> Merge<W> for Twhere T: MergeCF<W>,