Trait ckb_rocksdb::ops::Get[][src]

pub trait Get<R> {
    fn get_full<K: AsRef<[u8]>>(
        &self,
        key: K,
        readopts: Option<&R>
    ) -> Result<Option<DBVector>, Error>; fn get<K: AsRef<[u8]>>(&self, key: K) -> Result<Option<DBVector>, Error> { ... }
fn get_opt<K: AsRef<[u8]>>(
        &self,
        key: K,
        readopts: &R
    ) -> Result<Option<DBVector>, Error> { ... } }

Required methods

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

Loading content...

Provided methods

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

Return the bytes associated with a key value

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

Loading content...

Implementors

impl<T, R> Get<R> for T where
    T: GetCF<R>, 
[src]

Loading content...