digest::core_api

Trait 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>

Source§

impl<T> Reset for RtVariableCoreWrapper<T>

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,