Skip to main content

UpdateCore

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".

Implementors§

Source§

impl<T, OutSize> UpdateCore for CtOutWrapper<T, OutSize>
where T: VariableOutputCore, OutSize: ArraySize + IsLessOrEqual<T::OutputSize, Output = True>,