pub struct LbaFormat {
pub metadata_size: u16,
pub data_size_bytes: u32,
pub relative_performance: u8,
}Expand description
One LBA format entry from Identify Namespace.
A namespace declares up to 64 supported formats; the active one is selected
by the lower bits of flbas. data_size_bytes is 2 ^ ds of the raw
descriptor; a value of 0 means the format is unsupported.
Fields§
§metadata_size: u16§data_size_bytes: u32§relative_performance: u8Trait Implementations§
impl Copy for LbaFormat
impl Eq for LbaFormat
impl StructuralPartialEq for LbaFormat
Auto Trait Implementations§
impl Freeze for LbaFormat
impl RefUnwindSafe for LbaFormat
impl Send for LbaFormat
impl Sync for LbaFormat
impl Unpin for LbaFormat
impl UnsafeUnpin for LbaFormat
impl UnwindSafe for LbaFormat
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