[][src]Trait orga::store::Iter

pub trait Iter<'a>: Read {
    type Iter: Iterator<Item = Entry<'a>>;
    fn iter_from(&'a self, start: &[u8]) -> Self::Iter;

    fn iter(&'a self) -> Self::Iter { ... }
}

An interface for Store implementations which can create iterators over their key/value pairs.

Associated Types

type Iter: Iterator<Item = Entry<'a>>

Loading content...

Required methods

fn iter_from(&'a self, start: &[u8]) -> Self::Iter

Loading content...

Provided methods

fn iter(&'a self) -> Self::Iter

Loading content...

Implementors

impl<'a> Iter<'a> for NullStore[src]

type Iter = NullIter<'a>

impl<'a, S> Iter<'a> for BufStore<S> where
    S: Store + Iter<'a> + 'a, 
[src]

type Iter = Iter<'a, S::Iter>

impl<'a, T, I> Iter<'a> for T where
    I: Iter<'a> + 'a,
    T: Deref<Target = I>, 
[src]

type Iter = I::Iter

Loading content...