Trait crypto_common::BlockSizeUser
source · pub trait BlockSizeUser {
type BlockSize: BlockSizes;
// Provided method
fn block_size() -> usize { ... }
}
Expand description
Types which process data in blocks.
Required Associated Types§
sourcetype BlockSize: BlockSizes
type BlockSize: BlockSizes
Size of the block in bytes.
Provided Methods§
sourcefn block_size() -> usize
fn block_size() -> usize
Return block size in bytes.
Object Safety§
This trait is not object safe.