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§

source

type BlockSize: ArrayLength<u8> + 'static

Size of the block in bytes.

Provided Methods§

source

fn block_size() -> usize

Return block size in bytes.

Implementations on Foreign Types§

source§

impl<T: BlockSizeUser> BlockSizeUser for &mut T

source§

impl<T: BlockSizeUser> BlockSizeUser for &T

Implementors§