Trait sel4_async_block_io::ConstantBlockSize

source ·
pub trait ConstantBlockSize: BlockSize {
    const BLOCK_SIZE: Self;
    const BYTES: usize;
}

Required Associated Constants§

source

const BLOCK_SIZE: Self

source

const BYTES: usize

Object Safety§

This trait is not object safe.

Implementors§

source§

impl ConstantBlockSize for BlockSize512

source§

const BLOCK_SIZE: Self = BlockSize512

source§

const BYTES: usize = 512usize

source§

impl ConstantBlockSize for BlockSize1024

source§

const BLOCK_SIZE: Self = BlockSize1024

source§

const BYTES: usize = 1_024usize

source§

impl ConstantBlockSize for BlockSize2048

source§

const BLOCK_SIZE: Self = BlockSize2048

source§

const BYTES: usize = 2_048usize

source§

impl ConstantBlockSize for BlockSize4096

source§

const BLOCK_SIZE: Self = BlockSize4096

source§

const BYTES: usize = 4_096usize

source§

impl ConstantBlockSize for BlockSize8192

source§

const BLOCK_SIZE: Self = BlockSize8192

source§

const BYTES: usize = 8_192usize