[−][src]Trait exonum_merkledb::Iterator
A trait that defines a streaming iterator over storage view entries. Unlike
the standard Iterator
trait, Iterator
in Exonum is low-level and, therefore, operates with bytes.
Required methods
fn next(&mut self) -> Option<(&[u8], &[u8])>
Advances the iterator and returns a reference to the next key and value.
fn peek(&mut self) -> Option<(&[u8], &[u8])>
Returns a reference to the current key and value without advancing the iterator.