Struct trie_db::TrieBuilder
source · [−]pub struct TrieBuilder<'a, H, HO, V, DB> {
pub root: Option<HO>,
/* private fields */
}
Expand description
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
sourceimpl<'a, H, HO, V, DB> TrieBuilder<'a, H, HO, V, DB>
impl<'a, H, HO, V, DB> TrieBuilder<'a, H, HO, V, DB>
Trait Implementations
sourceimpl<'a, H: Hasher, V, DB: HashDB<H, V>> ProcessEncodedNode<<H as Hasher>::Out> for TrieBuilder<'a, H, <H as Hasher>::Out, V, DB>
impl<'a, H: Hasher, V, DB: HashDB<H, V>> ProcessEncodedNode<<H as Hasher>::Out> for TrieBuilder<'a, H, <H as Hasher>::Out, V, DB>
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more