DirectBlockDevice

Trait DirectBlockDevice 

Source
pub trait DirectBlockDevice: DirectBaseOperations + MountOperations {
    // Provided methods
    fn get_block_size(&self) -> Result<u32> { ... }
    fn get_block_count(&self) -> Result<Size> { ... }
}

Provided Methods§

Implementors§

Source§

impl<'a, D: DirectBlockDevice> DirectBlockDevice for PartitionDevice<'a, D>

Source§

impl<const BLOCK_SIZE: u32> DirectBlockDevice for MemoryDevice<BLOCK_SIZE>