Struct trie_db::TrieRootPrint
source · pub struct TrieRootPrint<T: TrieLayout> {
pub root: Option<TrieHash<T>>,
/* private fields */
}
Expand description
Calculate the trie root of the trie. Print a debug trace.
Fields§
§root: Option<TrieHash<T>>
The resulting root.
Trait Implementations§
source§impl<T: TrieLayout> Default for TrieRootPrint<T>
impl<T: TrieLayout> Default for TrieRootPrint<T>
source§impl<T: TrieLayout> ProcessEncodedNode<<<T as TrieLayout>::Hash as Hasher>::Out> for TrieRootPrint<T>
impl<T: TrieLayout> ProcessEncodedNode<<<T as TrieLayout>::Hash as Hasher>::Out> for TrieRootPrint<T>
Auto Trait Implementations§
impl<T> Freeze for TrieRootPrint<T>
impl<T> RefUnwindSafe for TrieRootPrint<T>
impl<T> Send for TrieRootPrint<T>where
T: Send,
impl<T> Sync for TrieRootPrint<T>where
T: Sync,
impl<T> Unpin for TrieRootPrint<T>
impl<T> UnwindSafe for TrieRootPrint<T>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more