Trait 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>,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§