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
fn next(&mut self) -> Option<(&[u8], &[u8])>
Advances the iterator and returns the next key and value.
fn peek(&mut self) -> Option<(&[u8], &[u8])>
Returns references to the current key and value of the iterator.