pub struct TrieDBRawIterator<L: TrieLayout> { /* private fields */ }
Expand description

Iterator for going through all nodes in the trie in pre-order traversal order.

Implementations§

Create a new empty iterator.

Create a new iterator.

Create a new iterator, but limited to a given prefix.

Create a new iterator, but limited to a given prefix. It then do a seek operation from prefixed context (using seek lose prefix context by default).

Fetches the next trie item.

Must be called with the same db as when the iterator was created.

Fetches the next key.

Must be called with the same db as when the iterator was created.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.