ckb_rocksdb::ops

Trait MultiGetCF

Source
pub trait MultiGetCF<R> {
    // Required method
    fn multi_get_cf_full<'a, K, I>(
        &self,
        keys_cf: I,
        readopts: Option<&R>,
    ) -> Vec<Result<Option<DBVector>, Error>>
       where K: AsRef<[u8]>,
             I: IntoIterator<Item = (&'a ColumnFamily, K)>;

    // Provided methods
    fn multi_get_cf<'a, K, I>(
        &self,
        keys_cf: I,
    ) -> Vec<Result<Option<DBVector>, Error>>
       where K: AsRef<[u8]>,
             I: IntoIterator<Item = (&'a ColumnFamily, K)> { ... }
    fn multi_get_cf_opt<'a, K, I>(
        &self,
        keys_cf: I,
        readopts: &R,
    ) -> Vec<Result<Option<DBVector>, Error>>
       where K: AsRef<[u8]>,
             I: IntoIterator<Item = (&'a ColumnFamily, K)> { ... }
}

Required Methods§

Source

fn multi_get_cf_full<'a, K, I>( &self, keys_cf: I, readopts: Option<&R>, ) -> Vec<Result<Option<DBVector>, Error>>
where K: AsRef<[u8]>, I: IntoIterator<Item = (&'a ColumnFamily, K)>,

Provided Methods§

Source

fn multi_get_cf<'a, K, I>( &self, keys_cf: I, ) -> Vec<Result<Option<DBVector>, Error>>
where K: AsRef<[u8]>, I: IntoIterator<Item = (&'a ColumnFamily, K)>,

Source

fn multi_get_cf_opt<'a, K, I>( &self, keys_cf: I, readopts: &R, ) -> Vec<Result<Option<DBVector>, Error>>
where K: AsRef<[u8]>, I: IntoIterator<Item = (&'a ColumnFamily, 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§