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>;
}
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>;
}