pub struct FatDB<'db, L> where
L: TrieLayout, { /* private fields */ }
Expand description
A Trie
implementation which hashes keys and uses a generic HashDB
backing database.
Additionaly it stores inserted hash-key mappings for later retrieval.
Use it as a Trie
or TrieMut
trait object.
Implementations
Create a new trie with the backing database db
and empty root
Initialise to the state entailed by the genesis block.
This guarantees the trie is built correctly.
Trait Implementations
Does the trie contain a given key?
Search for the key with the given query parameter. See the docs of the Query
trait for more details. Read more
Returns a depth-first iterator over the elements of trie.