pub trait BlockSizeUser {
type BlockSize: ArrayLength<u8> + 'static;
// Provided method
fn block_size() -> usize { ... }
}
Expand description
Types which process data in blocks.
Required Associated Types§
Provided Methods§
Sourcefn block_size() -> usize
fn block_size() -> usize
Return block size in bytes.
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.