Trait engine_traits::Iterable[][src]

pub trait Iterable {
    type Iterator: Iterator;
    fn iterator_opt(&self, opts: IterOptions) -> Result<Self::Iterator>;
fn iterator_cf_opt(
        &self,
        cf: &str,
        opts: IterOptions
    ) -> Result<Self::Iterator>; fn iterator(&self) -> Result<Self::Iterator> { ... }
fn iterator_cf(&self, cf: &str) -> Result<Self::Iterator> { ... }
fn scan<F>(
        &self,
        start_key: &[u8],
        end_key: &[u8],
        fill_cache: bool,
        f: F
    ) -> Result<()>
    where
        F: FnMut(&[u8], &[u8]) -> Result<bool>
, { ... }
fn scan_cf<F>(
        &self,
        cf: &str,
        start_key: &[u8],
        end_key: &[u8],
        fill_cache: bool,
        f: F
    ) -> Result<()>
    where
        F: FnMut(&[u8], &[u8]) -> Result<bool>
, { ... }
fn seek(&self, key: &[u8]) -> Result<Option<(Vec<u8>, Vec<u8>)>> { ... }
fn seek_cf(
        &self,
        cf: &str,
        key: &[u8]
    ) -> Result<Option<(Vec<u8>, Vec<u8>)>> { ... } }

Associated Types

type Iterator: Iterator[src]

Loading content...

Required methods

fn iterator_opt(&self, opts: IterOptions) -> Result<Self::Iterator>[src]

fn iterator_cf_opt(&self, cf: &str, opts: IterOptions) -> Result<Self::Iterator>[src]

Loading content...

Provided methods

fn iterator(&self) -> Result<Self::Iterator>[src]

fn iterator_cf(&self, cf: &str) -> Result<Self::Iterator>[src]

fn scan<F>(
    &self,
    start_key: &[u8],
    end_key: &[u8],
    fill_cache: bool,
    f: F
) -> Result<()> where
    F: FnMut(&[u8], &[u8]) -> Result<bool>, 
[src]

fn scan_cf<F>(
    &self,
    cf: &str,
    start_key: &[u8],
    end_key: &[u8],
    fill_cache: bool,
    f: F
) -> Result<()> where
    F: FnMut(&[u8], &[u8]) -> Result<bool>, 
[src]

fn seek(&self, key: &[u8]) -> Result<Option<(Vec<u8>, Vec<u8>)>>[src]

fn seek_cf(&self, cf: &str, key: &[u8]) -> Result<Option<(Vec<u8>, Vec<u8>)>>[src]

Loading content...

Implementors

Loading content...