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
EmptyEmpty trie node.
Leaf(NibbleVec, DBValue)Leaf node: partial key and value.
Extension(NibbleVec, DBValue)Extension node: partial key and child node.
Branch([NodeKey; 16], Option<DBValue>)Branch node: 16 children and an optional value.
Trait Implementations
impl Debug for OwnedNode[src] 
impl Debug for OwnedNodefn fmt(&self, f: &mut Formatter) -> Result[src] 
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for OwnedNode[src] 
impl PartialEq for OwnedNodefn eq(&self, other: &OwnedNode) -> bool[src] 
fn eq(&self, other: &OwnedNode) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &OwnedNode) -> bool[src] 
fn ne(&self, other: &OwnedNode) -> boolThis method tests for !=.
impl Eq for OwnedNode[src] 
impl Eq for OwnedNodeimpl<'a> From<Node<'a>> for OwnedNode[src] 
impl<'a> From<Node<'a>> for OwnedNode