Trait sel4_async_block_io::BlockIOLayout

source ·
pub trait BlockIOLayout {
    type Error: Debug;
    type BlockSize: BlockSize;

    // Required methods
    fn block_size(&self) -> Self::BlockSize;
    fn num_blocks(&self) -> u64;
}

Required Associated Types§

Required Methods§

source

fn block_size(&self) -> Self::BlockSize

source

fn num_blocks(&self) -> u64

Implementations on Foreign Types§

source§

impl<T: BlockIOLayout> BlockIOLayout for &T

source§

impl<T: BlockIOLayout> BlockIOLayout for Rc<T>

Implementors§