Struct reference_trie::GenericNoExtensionLayout
source · [−]pub struct GenericNoExtensionLayout<H>(_);Expand description
Trie layout without extension nodes, allowing generic hasher.
Trait Implementations
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 Hash = H
type Hash = H
Hasher to use for this trie.
type Codec = ReferenceNodeCodecNoExt<H>
type Codec = ReferenceNodeCodecNoExt<H>
Codec to use (needs to match hasher and nibble ops).
Auto Trait Implementations
impl<H> RefUnwindSafe for GenericNoExtensionLayout<H> where
H: RefUnwindSafe,
impl<H> Send for GenericNoExtensionLayout<H> where
H: Send,
impl<H> Sync for GenericNoExtensionLayout<H> where
H: Sync,
impl<H> Unpin for GenericNoExtensionLayout<H> where
H: Unpin,
impl<H> UnwindSafe for GenericNoExtensionLayout<H> where
H: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more