Struct reference_trie::HashedValueNoExtThreshold
source · [−]pub struct HashedValueNoExtThreshold;
Expand description
No extension trie which stores value above a static size as external node.
Trait Implementations
sourceimpl TrieLayout for HashedValueNoExtThreshold
impl TrieLayout for HashedValueNoExtThreshold
sourceconst USE_EXTENSION: bool = false
const USE_EXTENSION: bool = false
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
sourceconst ALLOW_EMPTY: bool = false
const ALLOW_EMPTY: bool = false
If true, the trie will allow empty values into TrieDBMut
sourceconst MAX_INLINE_VALUE: Option<u32> = _
const MAX_INLINE_VALUE: Option<u32> = _
Threshold above which an external node should be use to store a node value. Read more
type Hash = KeccakHasher
type Hash = KeccakHasher
Hasher to use for this trie.
type Codec = NodeCodec<KeccakHasher>
type Codec = NodeCodec<KeccakHasher>
Codec to use (needs to match hasher and nibble ops).
Auto Trait Implementations
impl RefUnwindSafe for HashedValueNoExtThreshold
impl Send for HashedValueNoExtThreshold
impl Sync for HashedValueNoExtThreshold
impl Unpin for HashedValueNoExtThreshold
impl UnwindSafe for HashedValueNoExtThreshold
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more