sel4_driver_interfaces::block

Trait GetBlockDeviceLayout

Source
pub trait GetBlockDeviceLayout {
    type Error: Debug;

    // Required methods
    fn get_block_size(&mut self) -> Result<usize, Self::Error>;
    fn get_num_blocks(&mut self) -> Result<u64, Self::Error>;
}

Required Associated Types§

Source

type Error: Debug

Required Methods§

Source

fn get_block_size(&mut self) -> Result<usize, Self::Error>

Source

fn get_num_blocks(&mut self) -> Result<u64, Self::Error>

Implementors§