#[repr(C)]struct IdentifyNamespaceData {Show 28 fields
nsze: u64,
_ncap: u64,
_nuse: u64,
_nsfeat: u8,
_nlbaf: u8,
flbas: u8,
_mc: u8,
_dpc: u8,
_dps: u8,
_nmic: u8,
_rescap: u8,
_fpi: u8,
_dlfeat: u8,
_nawun: u16,
_nawupf: u16,
_nacwu: u16,
_nabsn: u16,
_nabo: u16,
_nabspf: u16,
_noiob: u16,
_nvmcap: [u64; 2],
_npwg: u16,
_npwa: u16,
_npdg: u16,
_npda: u16,
_nows: u16,
_reserved: [u8; 54],
lbaf: [LbaFormat; 64],
}Expand description
Identify Namespace data (first 384 bytes needed). Layout per NVMe spec: bytes 0-73 are explicit fields, 74-127 reserved, 128-383 LBAF[0..64].
Fields§
§nsze: u64§_ncap: u64§_nuse: u64§_nsfeat: u8§_nlbaf: u8§flbas: u8§_mc: u8§_dpc: u8§_dps: u8§_nmic: u8§_rescap: u8§_fpi: u8§_dlfeat: u8§_nawun: u16§_nawupf: u16§_nacwu: u16§_nabsn: u16§_nabo: u16§_nabspf: u16§_noiob: u16§_nvmcap: [u64; 2]§_npwg: u16§_npwa: u16§_npdg: u16§_npda: u16§_nows: u16§_reserved: [u8; 54]§lbaf: [LbaFormat; 64]LBA Format Support : 64 entries × 4 bytes at offset 128
Trait Implementations§
Source§impl Clone for IdentifyNamespaceData
impl Clone for IdentifyNamespaceData
Source§fn clone(&self) -> IdentifyNamespaceData
fn clone(&self) -> IdentifyNamespaceData
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for IdentifyNamespaceData
Auto Trait Implementations§
impl Freeze for IdentifyNamespaceData
impl RefUnwindSafe for IdentifyNamespaceData
impl Send for IdentifyNamespaceData
impl Sync for IdentifyNamespaceData
impl Unpin for IdentifyNamespaceData
impl UnsafeUnpin for IdentifyNamespaceData
impl UnwindSafe for IdentifyNamespaceData
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more