Enum trie_db::node::NodeHandlePlan
source · [−]Expand description
A NodeHandlePlan is a decoding plan for constructing a NodeHandle from an encoded trie
node. This is used as a substructure of NodePlan. See NodePlan for details.
Variants
Hash(Range<usize>)
Inline(Range<usize>)
Implementations
Build a node handle by decoding a byte slice according to the node handle plan. It is the responsibility of the caller to ensure that the node plan was created for the argument data, otherwise the call may decode incorrectly or panic.
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for NodeHandlePlan
impl Send for NodeHandlePlan
impl Sync for NodeHandlePlan
impl Unpin for NodeHandlePlan
impl UnwindSafe for NodeHandlePlan
Blanket Implementations
Mutably borrows from an owned value. Read more