Trait ckb_rocksdb::ops::MultiGet

source ·
pub trait MultiGet<R> {
    // Required method
    fn multi_get_full<K, I>(
        &self,
        keys: I,
        readopts: Option<&R>
    ) -> Vec<Result<Option<DBVector>, Error>>
       where K: AsRef<[u8]>,
             I: IntoIterator<Item = K>;

    // Provided methods
    fn multi_get<K, I>(&self, keys: I) -> Vec<Result<Option<DBVector>, Error>>
       where K: AsRef<[u8]>,
             I: IntoIterator<Item = K> { ... }
    fn multi_get_opt<K, I>(
        &self,
        keys: I,
        readopts: &R
    ) -> Vec<Result<Option<DBVector>, Error>>
       where K: AsRef<[u8]>,
             I: IntoIterator<Item = K> { ... }
}

Required Methods§

source

fn multi_get_full<K, I>( &self, keys: I, readopts: Option<&R> ) -> Vec<Result<Option<DBVector>, Error>>where K: AsRef<[u8]>, I: IntoIterator<Item = K>,

Provided Methods§

source

fn multi_get<K, I>(&self, keys: I) -> Vec<Result<Option<DBVector>, Error>>where K: AsRef<[u8]>, I: IntoIterator<Item = K>,

source

fn multi_get_opt<K, I>( &self, keys: I, readopts: &R ) -> Vec<Result<Option<DBVector>, Error>>where K: AsRef<[u8]>, I: IntoIterator<Item = K>,

Object Safety§

This trait is not object safe.

Implementors§