sel4_async_block_io

Trait 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§