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
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>
Function call with prefix, encoded value and a boolean indicating if the node is the root for each node of the trie. Read more