[][src]Struct bm::UnitDigestConstruct

pub struct UnitDigestConstruct<D: Digest, V = GenericArray<u8, <D as Digest>::OutputSize>>(_);

Unit Digest construct.

Trait Implementations

impl<D: Digest, V> Construct for UnitDigestConstruct<D, V> where
    V: From<GenericArray<u8, D::OutputSize>> + AsRef<[u8]> + Default + Clone
[src]

type Value = V

Value stored in this merkle database.

Auto Trait Implementations

impl<D, V> Sync for UnitDigestConstruct<D, V> where
    D: Sync,
    V: Sync

impl<D, V> Send for UnitDigestConstruct<D, V> where
    D: Send,
    V: Send

impl<D, V> Unpin for UnitDigestConstruct<D, V> where
    D: Unpin,
    V: Unpin

impl<D, V> RefUnwindSafe for UnitDigestConstruct<D, V> where
    D: RefUnwindSafe,
    V: RefUnwindSafe

impl<D, V> UnwindSafe for UnitDigestConstruct<D, V> where
    D: UnwindSafe,
    V: UnwindSafe

Blanket Implementations

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

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

type Output = T

Should always be Self