pub struct HashedValueNoExtThreshold<const C: u32>;
Expand description
No extension trie which stores value above a static size as external node.
Trait Implementations§
Source§impl<const C: u32> TrieLayout for HashedValueNoExtThreshold<C>
impl<const C: u32> TrieLayout for HashedValueNoExtThreshold<C>
Source§const 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.
Source§const ALLOW_EMPTY: bool = false
const ALLOW_EMPTY: bool = false
If true, the trie will allow empty values into
TrieDBMut
Source§const 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.
Source§type Hash = KeccakHasher
type Hash = KeccakHasher
Hasher to use for this trie.
Source§type Codec = NodeCodec<KeccakHasher>
type Codec = NodeCodec<KeccakHasher>
Codec to use (needs to match hasher and nibble ops).
Auto Trait Implementations§
impl<const C: u32> Freeze for HashedValueNoExtThreshold<C>
impl<const C: u32> RefUnwindSafe for HashedValueNoExtThreshold<C>
impl<const C: u32> Send for HashedValueNoExtThreshold<C>
impl<const C: u32> Sync for HashedValueNoExtThreshold<C>
impl<const C: u32> Unpin for HashedValueNoExtThreshold<C>
impl<const C: u32> UnwindSafe for HashedValueNoExtThreshold<C>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more