sel4_async_block_io

Trait BlockSize

Source
pub trait BlockSize {
    type Block: AsRef<[u8]> + AsMut<[u8]>;

    // Required methods
    fn bytes(&self) -> usize;
    fn zeroed_block(&self) -> Self::Block;

    // Provided method
    fn bytes_u64(&self) -> u64 { ... }
}

Required Associated Types§

Source

type Block: AsRef<[u8]> + AsMut<[u8]>

Required Methods§

Source

fn bytes(&self) -> usize

Source

fn zeroed_block(&self) -> Self::Block

Provided Methods§

Source

fn bytes_u64(&self) -> u64

Implementors§