Struct trie_db::TrieBuilder[][src]

pub struct TrieBuilder<'a, H, HO, V, DB> {
    pub root: Option<HO>,
    // some fields omitted
}

Get trie root and insert visited node in a hash_db. As for all ProcessEncodedNode implementation, it is only for full trie parsing (not existing trie).

Fields

root: Option<HO>

Implementations

impl<'a, H, HO, V, DB> TrieBuilder<'a, H, HO, V, DB>[src]

pub fn new(db: &'a mut DB) -> Self[src]

Trait Implementations

impl<'a, H: Hasher, V, DB: HashDB<H, V>> ProcessEncodedNode<<H as Hasher>::Out> for TrieBuilder<'a, H, <H as Hasher>::Out, V, DB>[src]

Auto Trait Implementations

impl<'a, H, HO, V, DB> RefUnwindSafe for TrieBuilder<'a, H, HO, V, DB> where
    DB: RefUnwindSafe,
    H: RefUnwindSafe,
    HO: RefUnwindSafe,
    V: RefUnwindSafe

impl<'a, H, HO, V, DB> Send for TrieBuilder<'a, H, HO, V, DB> where
    DB: Send,
    H: Send,
    HO: Send,
    V: Send

impl<'a, H, HO, V, DB> Sync for TrieBuilder<'a, H, HO, V, DB> where
    DB: Sync,
    H: Sync,
    HO: Sync,
    V: Sync

impl<'a, H, HO, V, DB> Unpin for TrieBuilder<'a, H, HO, V, DB> where
    H: Unpin,
    HO: Unpin,
    V: Unpin

impl<'a, H, HO, V, DB> !UnwindSafe for TrieBuilder<'a, H, HO, V, DB>

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<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.