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§
fn multi_get_full<K, I>( &self, keys: I, readopts: Option<&R>, ) -> Vec<Result<Option<DBVector>, Error>>
Provided Methods§
fn multi_get<K, I>(&self, keys: I) -> Vec<Result<Option<DBVector>, Error>>
fn multi_get_opt<K, I>( &self, keys: I, readopts: &R, ) -> Vec<Result<Option<DBVector>, Error>>
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.