Trait persist::indexed::Snapshot[][src]

pub trait Snapshot<K, V>: Sized {
    type Iter: Iterator<Item = Result<((K, V), u64, isize), Error>>;
    fn into_iters(self, num_iters: NonZeroUsize) -> Vec<Self::Iter>
Notable traits for Vec<u8, A>
impl<A> Write for Vec<u8, A> where
    A: Allocator
; fn into_iter(self) -> Self::Iter { ... } }
Expand description

An isolated, consistent read of previously written (Key, Value, Time, Diff) updates.

Associated Types

The kind of iterator we are turning this into.

Required methods

Returns a set of num_iters Iterators that each output roughly 1/num_iters of the data represented by this snapshot.

Provided methods

Returns a single Iterator that outputs the data represented by this snapshot.

Implementors