Trait tp_trie::TrieLayout [−][src]
pub trait TrieLayout { type Hash: Hasher; type Codec: NodeCodec; const USE_EXTENSION: bool; const ALLOW_EMPTY: bool; }
Expand description
Various re-exports from the tetsy-trie-db
crate.
Trait with definition of trie layout.
Contains all associated trait needed for
a trie definition or implementation.
Associated Types
Associated Constants
const USE_EXTENSION: bool
const USE_EXTENSION: bool
If true, the trie will use extension nodes and no partial in branch, if false the trie will only use branch and node with partials in both.
const ALLOW_EMPTY: bool
const ALLOW_EMPTY: bool
If true, the trie will allow empty values into TrieDBMut