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