[][src]Struct reference_trie::ReferenceNodeCodecNoExt

pub struct ReferenceNodeCodecNoExt<H>(_);

Simple reference implementation of a NodeCodec. Even if implementation follows initial specification of https://github.com/w3f/polkadot-re-spec/issues/8, this may not follow it in the future, it is mainly the testing codec without extension node.

Trait Implementations

impl<H: Clone> Clone for ReferenceNodeCodecNoExt<H>[src]

impl<H: Default> Default for ReferenceNodeCodecNoExt<H>[src]

impl<H: Hasher> NodeCodec for ReferenceNodeCodecNoExt<H>[src]

type Error = CodecError

Codec error type.

type HashOut = <H as Hasher>::Out

Output type of encoded node hasher.

Auto Trait Implementations

impl<H> RefUnwindSafe for ReferenceNodeCodecNoExt<H> where
    H: RefUnwindSafe
[src]

impl<H> Send for ReferenceNodeCodecNoExt<H> where
    H: Send
[src]

impl<H> Sync for ReferenceNodeCodecNoExt<H> where
    H: Sync
[src]

impl<H> Unpin for ReferenceNodeCodecNoExt<H> where
    H: Unpin
[src]

impl<H> UnwindSafe for ReferenceNodeCodecNoExt<H> where
    H: UnwindSafe
[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> 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.