Trait ckb_rocksdb::ops::BatchedMultiGetCF
source · 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>>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>,
Object Safety§
This trait is not object safe.