[][src]Struct trie_db::FatDBIterator

pub struct FatDBIterator<'db, L> where
    L: TrieLayout
{ /* fields omitted */ }

Itarator over inserted pairs of key values.

Implementations

impl<'db, L> FatDBIterator<'db, L> where
    L: TrieLayout
[src]

pub fn new(trie: &'db TrieDB<'_, L>) -> Result<Self, TrieHash<L>, CError<L>>[src]

Creates new iterator.

Trait Implementations

impl<'db, L> Iterator for FatDBIterator<'db, L> where
    L: TrieLayout
[src]

type Item = TrieItem<'db, TrieHash<L>, CError<L>>

The type of the elements being iterated over.

impl<'db, L> TrieIterator<L> for FatDBIterator<'db, L> where
    L: TrieLayout
[src]

Auto Trait Implementations

impl<'db, L> !RefUnwindSafe for FatDBIterator<'db, L>

impl<'db, L> !Send for FatDBIterator<'db, L>

impl<'db, L> !Sync for FatDBIterator<'db, L>

impl<'db, L> Unpin for FatDBIterator<'db, L> where
    <L as TrieLayout>::Hash: Hasher,
    <<L as TrieLayout>::Hash as Hasher>::Out: Unpin

impl<'db, L> !UnwindSafe for FatDBIterator<'db, L>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<I> IntoIterator for I where
    I: Iterator
[src]

type Item = <I as Iterator>::Item

The type of the elements being iterated over.

type IntoIter = I

Which kind of iterator are we turning this into?

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.