ckb_rocksdb::ops

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

Source

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§

Source

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

Source

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

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§