pub trait UpdateCore: BlockSizeUser {
// Required method
fn update_blocks(&mut self, blocks: &[Block<Self>]);
}
Available on crate feature
core-api
only.Expand description
Types which consume data in blocks.
Required Methods§
Sourcefn update_blocks(&mut self, blocks: &[Block<Self>])
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.