Struct digest::core_api::CtVariableCoreWrapper[][src]

pub struct CtVariableCoreWrapper<T, OutSize> where
    T: VariableOutputCore,
    OutSize: ArrayLength<u8> + IsLessOrEqual<T::MaxOutputSize>,
    LeEq<OutSize, T::MaxOutputSize>: NonZero, 
{ /* fields omitted */ }
This is supported on crate feature core-api only.

Wrapper around VariableOutputCore which selects output size at compile time.

Trait Implementations

impl<T, OutSize> AlgorithmName for CtVariableCoreWrapper<T, OutSize> where
    T: VariableOutputCore + AlgorithmName,
    OutSize: ArrayLength<u8> + IsLessOrEqual<T::MaxOutputSize>,
    LeEq<OutSize, T::MaxOutputSize>: NonZero, 
[src]

impl<T: Clone, OutSize: Clone> Clone for CtVariableCoreWrapper<T, OutSize> where
    T: VariableOutputCore,
    OutSize: ArrayLength<u8> + IsLessOrEqual<T::MaxOutputSize>,
    LeEq<OutSize, T::MaxOutputSize>: NonZero, 
[src]

impl<T, OutSize> Default for CtVariableCoreWrapper<T, OutSize> where
    T: VariableOutputCore,
    OutSize: ArrayLength<u8> + IsLessOrEqual<T::MaxOutputSize>,
    LeEq<OutSize, T::MaxOutputSize>: NonZero, 
[src]

impl<T, OutSize> FixedOutputCore for CtVariableCoreWrapper<T, OutSize> where
    T: VariableOutputCore,
    OutSize: ArrayLength<u8> + IsLessOrEqual<T::MaxOutputSize>,
    LeEq<OutSize, T::MaxOutputSize>: NonZero, 
[src]

type OutputSize = OutSize

Digest output size in bytes.

impl<T, OutSize> UpdateCore for CtVariableCoreWrapper<T, OutSize> where
    T: VariableOutputCore,
    OutSize: ArrayLength<u8> + IsLessOrEqual<T::MaxOutputSize>,
    LeEq<OutSize, T::MaxOutputSize>: NonZero, 
[src]

type BlockSize = T::BlockSize

Block size in bytes.

Auto Trait Implementations

impl<T, OutSize> RefUnwindSafe for CtVariableCoreWrapper<T, OutSize> where
    OutSize: RefUnwindSafe,
    T: RefUnwindSafe
[src]

impl<T, OutSize> Send for CtVariableCoreWrapper<T, OutSize> where
    OutSize: Send,
    T: Send
[src]

impl<T, OutSize> Sync for CtVariableCoreWrapper<T, OutSize> where
    OutSize: Sync,
    T: Sync
[src]

impl<T, OutSize> Unpin for CtVariableCoreWrapper<T, OutSize> where
    OutSize: Unpin,
    T: Unpin
[src]

impl<T, OutSize> UnwindSafe for CtVariableCoreWrapper<T, OutSize> where
    OutSize: UnwindSafe,
    T: 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> Same<T> for T

type Output = T

Should always be Self

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.