Struct trie_db::recorder::Record[][src]

pub struct Record<HO> {
    pub depth: u32,
    pub data: Vec<u8>,
    pub hash: HO,
}

A record of a visited node.

Fields

depth: u32

The depth of this node.

data: Vec<u8>

The raw data of the node.

hash: HO

The hash of the data.

Trait Implementations

impl<HO: Clone> Clone for Record<HO>[src]

impl<HO: Debug> Debug for Record<HO>[src]

impl<HO: Eq> Eq for Record<HO>[src]

impl<HO: PartialEq> PartialEq<Record<HO>> for Record<HO>[src]

impl<HO> StructuralEq for Record<HO>[src]

impl<HO> StructuralPartialEq for Record<HO>[src]

Auto Trait Implementations

impl<HO> RefUnwindSafe for Record<HO> where
    HO: RefUnwindSafe

impl<HO> Send for Record<HO> where
    HO: Send

impl<HO> Sync for Record<HO> where
    HO: Sync

impl<HO> Unpin for Record<HO> where
    HO: Unpin

impl<HO> UnwindSafe for Record<HO> where
    HO: UnwindSafe

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.