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

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: Eq> Eq for Record<HO>[src]

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

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

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

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

Auto Trait Implementations

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

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

Blanket Implementations

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> Into<U> for T where
    U: From<T>, 
[src]

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

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.

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

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

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

impl<T> MaybeDebug for T where
    T: Debug
[src]