Trait digest::Reset

source ·
pub trait Reset {
    // Required method
    fn reset(&mut self);
}
Expand description

Resettable types.

Required Methods§

source

fn reset(&mut self)

Reset state to its initial value.

Implementors§

source§

impl<T> Reset for CoreWrapper<T>where T: BufferKindUser + Reset, T::BlockSize: IsLess<U256>, Le<T::BlockSize, U256>: NonZero,

Available on crate feature core-api only.
source§

impl<T> Reset for RtVariableCoreWrapper<T>where T: VariableOutputCore + UpdateCore + Reset, T::BlockSize: IsLess<U256>, Le<T::BlockSize, U256>: NonZero,

Available on crate feature core-api only.
source§

impl<T, OutSize, O> Reset for CtVariableCoreWrapper<T, OutSize, O>where T: VariableOutputCore, OutSize: ArrayLength<u8> + IsLessOrEqual<T::OutputSize>, LeEq<OutSize, T::OutputSize>: NonZero, T::BlockSize: IsLess<U256>, Le<T::BlockSize, U256>: NonZero,

Available on crate feature core-api only.