pub trait BatchedMultiGetCF<R> {
// Required method
fn batched_multi_get_cf_full<'a, K, I>(
&self,
cf: &ColumnFamily,
keys: I,
sorted_input: bool,
readopts: Option<&R>,
) -> Vec<Result<Option<DBPinnableSlice<'_>>, Error>>
where K: AsRef<[u8]> + 'a + ?Sized,
I: IntoIterator<Item = &'a K>;
// Provided methods
fn batched_multi_get_cf<'a, K, I>(
&self,
cf: &ColumnFamily,
keys: I,
sorted_input: bool,
) -> Vec<Result<Option<DBPinnableSlice<'_>>, Error>>
where K: AsRef<[u8]> + 'a + ?Sized,
I: IntoIterator<Item = &'a K> { ... }
fn batched_multi_get_cf_opt<'a, K, I>(
&self,
cf: &ColumnFamily,
keys: I,
sorted_input: bool,
readopts: &R,
) -> Vec<Result<Option<DBPinnableSlice<'_>>, Error>>
where K: AsRef<[u8]> + 'a + ?Sized,
I: IntoIterator<Item = &'a K> { ... }
}
Required Methods§
fn batched_multi_get_cf_full<'a, K, I>( &self, cf: &ColumnFamily, keys: I, sorted_input: bool, readopts: Option<&R>, ) -> Vec<Result<Option<DBPinnableSlice<'_>>, Error>>
Provided Methods§
fn batched_multi_get_cf<'a, K, I>( &self, cf: &ColumnFamily, keys: I, sorted_input: bool, ) -> Vec<Result<Option<DBPinnableSlice<'_>>, Error>>
fn batched_multi_get_cf_opt<'a, K, I>( &self, cf: &ColumnFamily, keys: I, sorted_input: bool, readopts: &R, ) -> Vec<Result<Option<DBPinnableSlice<'_>>, 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.