Struct reference_trie::ExtensionLayout
source · [−]pub struct ExtensionLayout;Expand description
Trie layout using extension nodes.
Trait Implementations
Returns the “default value” for a type. Read more
Operation to build a trie db from its ordered iterator over its key/values.
Determines a trie root given its ordered contents, closed form.
Determines a trie root node’s data given its ordered contents, closed form.
Encoding of index as a key (when reusing general trie for indexed trie). Read more
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. Read more
If true, the trie will allow empty values into TrieDBMut
Threshold above which an external node should be use to store a node value. Read more
type Codec = ReferenceNodeCodec<RefHasher>
type Codec = ReferenceNodeCodec<RefHasher>
Codec to use (needs to match hasher and nibble ops).
Auto Trait Implementations
impl RefUnwindSafe for ExtensionLayout
impl Send for ExtensionLayout
impl Sync for ExtensionLayout
impl Unpin for ExtensionLayout
impl UnwindSafe for ExtensionLayout
Blanket Implementations
Mutably borrows from an owned value. Read more