Trait exonum::storage::Iterator [] [src]

pub trait Iterator {
    fn next(&mut self) -> Option<(&[u8], &[u8])>;
fn peek(&mut self) -> Option<(&[u8], &[u8])>; }

A trait that defines streaming iterator over storage view entries.

Required Methods

Advances the iterator and returns the next key and value.

Returns references to the current key and value of the iterator.

Implementors