#[repr(C)]pub struct Topology {
pub physical_block_log2: u8,
pub alignment_offset: u8,
pub min_io_size: u16,
pub optimal_io_size: u32,
}
Fields§
§physical_block_log2: u8
The number of logical blocks per physical block (log2)
alignment_offset: u8
The offset of the first aligned logical block
min_io_size: u16
The minimum I/O size (in blocks)
optimal_io_size: u32
The optimal (and suggested maximum) I/O size (in blocks)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Topology
impl RefUnwindSafe for Topology
impl Send for Topology
impl Sync for Topology
impl Unpin for Topology
impl UnwindSafe for Topology
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more