[][src]Trait multiproof_rs::tree::NodeType

pub trait NodeType: Default {
    type Key;
    type Value;
}

Represents the type of keys and values stored into the tree.

To implement tre trait, one has to specify the types of Key and Value. A further requirement is that implementors must also implement the Default trait.

Associated Types

type Key

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

type Value

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

Loading content...

Implementors

impl NodeType for Node[src]

type Key = NibbleKey

type Value = Vec<u8>

Loading content...