Struct linux_nvme_sys::nvme_id_ns
source · #[repr(C)]pub struct nvme_id_ns {Show 37 fields
pub nsze: __le64,
pub ncap: __le64,
pub nuse: __le64,
pub nsfeat: __u8,
pub nlbaf: __u8,
pub flbas: __u8,
pub mc: __u8,
pub dpc: __u8,
pub dps: __u8,
pub nmic: __u8,
pub rescap: __u8,
pub fpi: __u8,
pub dlfeat: __u8,
pub nawun: __le16,
pub nawupf: __le16,
pub nacwu: __le16,
pub nabsn: __le16,
pub nabo: __le16,
pub nabspf: __le16,
pub noiob: __le16,
pub nvmcap: [__u8; 16],
pub npwg: __le16,
pub npwa: __le16,
pub npdg: __le16,
pub npda: __le16,
pub nows: __le16,
pub rsvd74: [__u8; 18],
pub anagrpid: __le32,
pub rsvd96: [__u8; 3],
pub nsattr: __u8,
pub nvmsetid: __le16,
pub endgid: __le16,
pub nguid: [__u8; 16],
pub eui64: [__u8; 8],
pub lbaf: [nvme_lbaf; 16],
pub rsvd192: [__u8; 192],
pub vs: [__u8; 3712],
}
Fields§
§nsze: __le64
§ncap: __le64
§nuse: __le64
§nsfeat: __u8
§nlbaf: __u8
§flbas: __u8
§mc: __u8
§dpc: __u8
§dps: __u8
§nmic: __u8
§rescap: __u8
§fpi: __u8
§dlfeat: __u8
§nawun: __le16
§nawupf: __le16
§nacwu: __le16
§nabsn: __le16
§nabo: __le16
§nabspf: __le16
§noiob: __le16
§nvmcap: [__u8; 16]
§npwg: __le16
§npwa: __le16
§npdg: __le16
§npda: __le16
§nows: __le16
§rsvd74: [__u8; 18]
§anagrpid: __le32
§rsvd96: [__u8; 3]
§nsattr: __u8
§nvmsetid: __le16
§endgid: __le16
§nguid: [__u8; 16]
§eui64: [__u8; 8]
§lbaf: [nvme_lbaf; 16]
§rsvd192: [__u8; 192]
§vs: [__u8; 3712]
Trait Implementations§
source§impl Clone for nvme_id_ns
impl Clone for nvme_id_ns
source§fn clone(&self) -> nvme_id_ns
fn clone(&self) -> nvme_id_ns
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for nvme_id_ns
impl Debug for nvme_id_ns
source§impl Default for nvme_id_ns
impl Default for nvme_id_ns
source§impl PartialEq<nvme_id_ns> for nvme_id_ns
impl PartialEq<nvme_id_ns> for nvme_id_ns
source§fn eq(&self, other: &nvme_id_ns) -> bool
fn eq(&self, other: &nvme_id_ns) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for nvme_id_ns
impl Eq for nvme_id_ns
impl StructuralEq for nvme_id_ns
impl StructuralPartialEq for nvme_id_ns
Auto Trait Implementations§
impl RefUnwindSafe for nvme_id_ns
impl Send for nvme_id_ns
impl Sync for nvme_id_ns
impl Unpin for nvme_id_ns
impl UnwindSafe for nvme_id_ns
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