[][src]Enum multiproof_rs::binary_tree::BinaryTree

pub enum BinaryTree {
    Hash(Vec<u8>),
    Leaf(BinaryKeyVec<u8>),
    Branch(Box<BinaryTree>, Box<BinaryTree>),
    EmptyChild,
}

Variants

Hash(Vec<u8>)
Leaf(BinaryKeyVec<u8>)
EmptyChild

Trait Implementations

impl Clone for BinaryTree[src]

impl Debug for BinaryTree[src]

impl Default for BinaryTree[src]

impl NodeType for BinaryTree[src]

type Key = BinaryKey

The tree's key type. Must be specified when implementing this trait.

type Value = Vec<u8>

The tree's value type. Must be specified when implementing this trait.

impl PartialEq<BinaryTree> for BinaryTree[src]

impl StructuralPartialEq for BinaryTree[src]

impl Tree<BinaryTree> for BinaryTree[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.