pub trait DirectBlockDevice: DirectBaseOperations + MountOperations {
// Provided methods
fn get_block_size(&self) -> Result<u32> { ... }
fn get_block_count(&self) -> Result<Size> { ... }
}Provided Methods§
fn get_block_size(&self) -> Result<u32>
fn get_block_count(&self) -> Result<Size>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".