Struct trie_db::TrieRootUnhashed
source · [−]pub struct TrieRootUnhashed<T: TrieLayout> {
pub root: Option<Vec<u8>>,
/* private fields */
}
Expand description
Get the trie root node encoding.
Fields
root: Option<Vec<u8>>
The resulting encoded root.
Trait Implementations
impl<T: TrieLayout> ProcessEncodedNode<<<T as TrieLayout>::Hash as Hasher>::Out> for TrieRootUnhashed<T>
impl<T: TrieLayout> ProcessEncodedNode<<<T as TrieLayout>::Hash as Hasher>::Out> for TrieRootUnhashed<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