digest::core_api

Trait UpdateCore

Source
pub trait UpdateCore: BlockSizeUser {
    // Required method
    fn update_blocks(&mut self, blocks: &[Block<Self>]);
}
Expand description

Types which consume data in blocks.

Required Methods§

Source

fn update_blocks(&mut self, blocks: &[Block<Self>])

Update state using the provided data blocks.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<T, OutSize, O> UpdateCore 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,