Trait ckb_rocksdb::ops::GetCF

source ·
pub trait GetCF<R> {
    // Required method
    fn get_cf_full<K: AsRef<[u8]>>(
        &self,
        cf: Option<&ColumnFamily>,
        key: K,
        readopts: Option<&R>
    ) -> Result<Option<DBVector>, Error>;

    // Provided methods
    fn get_cf<K: AsRef<[u8]>>(
        &self,
        cf: &ColumnFamily,
        key: K
    ) -> Result<Option<DBVector>, Error> { ... }
    fn get_cf_opt<K: AsRef<[u8]>>(
        &self,
        cf: &ColumnFamily,
        key: K,
        readopts: &R
    ) -> Result<Option<DBVector>, Error> { ... }
}

Required Methods§

source

fn get_cf_full<K: AsRef<[u8]>>( &self, cf: Option<&ColumnFamily>, key: K, readopts: Option<&R> ) -> Result<Option<DBVector>, Error>

Provided Methods§

source

fn get_cf<K: AsRef<[u8]>>( &self, cf: &ColumnFamily, key: K ) -> Result<Option<DBVector>, Error>

source

fn get_cf_opt<K: AsRef<[u8]>>( &self, cf: &ColumnFamily, key: K, readopts: &R ) -> Result<Option<DBVector>, Error>

Object Safety§

This trait is not object safe.

Implementors§