Struct reference_trie::HashedValueNoExt
source · [−]pub struct HashedValueNoExt;
Expand description
No extension trie with no hashed value.
Trait Implementations
sourceimpl TrieLayout for HashedValueNoExt
impl TrieLayout for HashedValueNoExt
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> = None
const MAX_INLINE_VALUE: Option<u32> = None
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 HashedValueNoExt
impl Send for HashedValueNoExt
impl Sync for HashedValueNoExt
impl Unpin for HashedValueNoExt
impl UnwindSafe for HashedValueNoExt
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