Struct reference_trie::ReferenceTrieStreamNoExt
source · [−]pub struct ReferenceTrieStreamNoExt { /* private fields */ }Expand description
Reference implementation of a TrieStream without extension.
Trait Implementations
Returns the “default value” for a type. Read more
Append an Empty node
Append a Leaf node
fn begin_branch(
&mut self,
maybe_partial: Option<&[u8]>,
maybe_value: Option<TrieStreamValue<'_>>,
has_children: impl Iterator<Item = bool>
)
fn begin_branch(
&mut self,
maybe_partial: Option<&[u8]>,
maybe_value: Option<TrieStreamValue<'_>>,
has_children: impl Iterator<Item = bool>
)
Start a new Branch node, possibly with a value; takes a list indicating which slots in the Branch node has further child nodes. Read more
Append an Extension node
Append a Branch of Extension substream
Append an empty child node. Optional.
Wrap up a Branch node portion of a TrieStream and append the value
stored on the Branch (if any). Read more
Auto Trait Implementations
impl RefUnwindSafe for ReferenceTrieStreamNoExt
impl Send for ReferenceTrieStreamNoExt
impl Sync for ReferenceTrieStreamNoExt
impl Unpin for ReferenceTrieStreamNoExt
impl UnwindSafe for ReferenceTrieStreamNoExt
Blanket Implementations
Mutably borrows from an owned value. Read more