Enum patricia_trie::node::OwnedNode[][src]

pub enum OwnedNode {
    Empty,
    Leaf(NibbleVec, DBValue),
    Extension(NibbleVec, DBValue),
    Branch([NodeKey; 16]Option<DBValue>),
}

An owning node type. Useful for trie iterators.

Variants

Empty trie node.

Leaf node: partial key and value.

Extension node: partial key and child node.

Branch node: 16 children and an optional value.

Trait Implementations

impl Debug for OwnedNode
[src]

Formats the value using the given formatter. Read more

impl PartialEq for OwnedNode
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for OwnedNode
[src]

impl<'a> From<Node<'a>> for OwnedNode
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for OwnedNode

impl Sync for OwnedNode