[][src]Enum trie_db::node::NodeHandle

pub enum NodeHandle<'a> {
    Hash(&'a [u8]),
    Inline(&'a [u8]),
}

A reference to a trie node which may be stored within another trie node.

Variants

Hash(&'a [u8])
Inline(&'a [u8])

Trait Implementations

impl<'a> Clone for NodeHandle<'a>[src]

impl<'a> Copy for NodeHandle<'a>[src]

impl<'a> Debug for NodeHandle<'a>[src]

impl<'a> Eq for NodeHandle<'a>[src]

impl<'a> PartialEq<NodeHandle<'a>> for NodeHandle<'a>[src]

impl<'a> StructuralEq for NodeHandle<'a>[src]

impl<'a> StructuralPartialEq for NodeHandle<'a>[src]

impl<'a, HO> TryFrom<NodeHandle<'a>> for ChildReference<HO> where
    HO: AsRef<[u8]> + AsMut<[u8]> + Default + Clone + Copy
[src]

type Error = Vec<u8>

The type returned in the event of a conversion error.

Auto Trait Implementations

impl<'a> RefUnwindSafe for NodeHandle<'a>[src]

impl<'a> Send for NodeHandle<'a>[src]

impl<'a> Sync for NodeHandle<'a>[src]

impl<'a> Unpin for NodeHandle<'a>[src]

impl<'a> UnwindSafe for NodeHandle<'a>[src]

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> MaybeDebug for T where
    T: Debug
[src]

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.