#[repr(C)]
pub struct NVME_IDENTIFY_CONTROLLER_DATA {
Show 81 fields pub VID: u16, pub SSVID: u16, pub SN: [u8; 20], pub MN: [u8; 40], pub FR: [u8; 8], pub RAB: u8, pub IEEE: [u8; 3], pub CMIC: NVME_IDENTIFY_CONTROLLER_DATA_3, pub MDTS: u8, pub CNTLID: u16, pub VER: u32, pub RTD3R: u32, pub RTD3E: u32, pub OAES: NVME_IDENTIFY_CONTROLLER_DATA_14, pub CTRATT: NVME_IDENTIFY_CONTROLLER_DATA_5, pub RRLS: NVME_IDENTIFY_CONTROLLER_DATA_17, pub Reserved0: [u8; 9], pub CNTRLTYPE: u8, pub FGUID: [u8; 16], pub CRDT1: u16, pub CRDT2: u16, pub CRDT3: u16, pub Reserved0_1: [u8; 106], pub ReservedForManagement: [u8; 16], pub OACS: NVME_IDENTIFY_CONTROLLER_DATA_13, pub ACL: u8, pub AERL: u8, pub FRMW: NVME_IDENTIFY_CONTROLLER_DATA_7, pub LPA: NVME_IDENTIFY_CONTROLLER_DATA_10, pub ELPE: u8, pub NPSS: u8, pub AVSCC: NVME_IDENTIFY_CONTROLLER_DATA_2, pub APSTA: NVME_IDENTIFY_CONTROLLER_DATA_1, pub WCTEMP: u16, pub CCTEMP: u16, pub MTFA: u16, pub HMPRE: u32, pub HMMIN: u32, pub TNVMCAP: [u8; 16], pub UNVMCAP: [u8; 16], pub RPMBS: NVME_IDENTIFY_CONTROLLER_DATA_16, pub EDSTT: u16, pub DSTO: u8, pub FWUG: u8, pub KAS: u16, pub HCTMA: NVME_IDENTIFY_CONTROLLER_DATA_9, pub MNTMT: u16, pub MXTMT: u16, pub SANICAP: NVME_IDENTIFY_CONTROLLER_DATA_18, pub HMMINDS: u32, pub HMMAXD: u16, pub NSETIDMAX: u16, pub ENDGIDMAX: u16, pub ANATT: u8, pub ANACAP: NVME_IDENTIFY_CONTROLLER_DATA_0, pub ANAGRPMAX: u32, pub NANAGRPID: u32, pub PELS: u32, pub Reserved1: [u8; 156], pub SQES: NVME_IDENTIFY_CONTROLLER_DATA_20, pub CQES: NVME_IDENTIFY_CONTROLLER_DATA_4, pub MAXCMD: u16, pub NN: u32, pub ONCS: NVME_IDENTIFY_CONTROLLER_DATA_15, pub FUSES: NVME_IDENTIFY_CONTROLLER_DATA_8, pub FNA: NVME_IDENTIFY_CONTROLLER_DATA_6, pub VWC: NVME_IDENTIFY_CONTROLLER_DATA_21, pub AWUN: u16, pub AWUPF: u16, pub NVSCC: NVME_IDENTIFY_CONTROLLER_DATA_11, pub NWPC: NVME_IDENTIFY_CONTROLLER_DATA_12, pub ACWU: u16, pub Reserved4: [u8; 2], pub SGLS: NVME_IDENTIFY_CONTROLLER_DATA_19, pub MNAN: u32, pub Reserved6: [u8; 224], pub SUBNQN: [u8; 256], pub Reserved7: [u8; 768], pub Reserved8: [u8; 256], pub PDS: [NVME_POWER_STATE_DESC; 32], pub VS: [u8; 1024],
}

Fields§

§VID: u16§SSVID: u16§SN: [u8; 20]§MN: [u8; 40]§FR: [u8; 8]§RAB: u8§IEEE: [u8; 3]§CMIC: NVME_IDENTIFY_CONTROLLER_DATA_3§MDTS: u8§CNTLID: u16§VER: u32§RTD3R: u32§RTD3E: u32§OAES: NVME_IDENTIFY_CONTROLLER_DATA_14§CTRATT: NVME_IDENTIFY_CONTROLLER_DATA_5§RRLS: NVME_IDENTIFY_CONTROLLER_DATA_17§Reserved0: [u8; 9]§CNTRLTYPE: u8§FGUID: [u8; 16]§CRDT1: u16§CRDT2: u16§CRDT3: u16§Reserved0_1: [u8; 106]§ReservedForManagement: [u8; 16]§OACS: NVME_IDENTIFY_CONTROLLER_DATA_13§ACL: u8§AERL: u8§FRMW: NVME_IDENTIFY_CONTROLLER_DATA_7§LPA: NVME_IDENTIFY_CONTROLLER_DATA_10§ELPE: u8§NPSS: u8§AVSCC: NVME_IDENTIFY_CONTROLLER_DATA_2§APSTA: NVME_IDENTIFY_CONTROLLER_DATA_1§WCTEMP: u16§CCTEMP: u16§MTFA: u16§HMPRE: u32§HMMIN: u32§TNVMCAP: [u8; 16]§UNVMCAP: [u8; 16]§RPMBS: NVME_IDENTIFY_CONTROLLER_DATA_16§EDSTT: u16§DSTO: u8§FWUG: u8§KAS: u16§HCTMA: NVME_IDENTIFY_CONTROLLER_DATA_9§MNTMT: u16§MXTMT: u16§SANICAP: NVME_IDENTIFY_CONTROLLER_DATA_18§HMMINDS: u32§HMMAXD: u16§NSETIDMAX: u16§ENDGIDMAX: u16§ANATT: u8§ANACAP: NVME_IDENTIFY_CONTROLLER_DATA_0§ANAGRPMAX: u32§NANAGRPID: u32§PELS: u32§Reserved1: [u8; 156]§SQES: NVME_IDENTIFY_CONTROLLER_DATA_20§CQES: NVME_IDENTIFY_CONTROLLER_DATA_4§MAXCMD: u16§NN: u32§ONCS: NVME_IDENTIFY_CONTROLLER_DATA_15§FUSES: NVME_IDENTIFY_CONTROLLER_DATA_8§FNA: NVME_IDENTIFY_CONTROLLER_DATA_6§VWC: NVME_IDENTIFY_CONTROLLER_DATA_21§AWUN: u16§AWUPF: u16§NVSCC: NVME_IDENTIFY_CONTROLLER_DATA_11§NWPC: NVME_IDENTIFY_CONTROLLER_DATA_12§ACWU: u16§Reserved4: [u8; 2]§SGLS: NVME_IDENTIFY_CONTROLLER_DATA_19§MNAN: u32§Reserved6: [u8; 224]§SUBNQN: [u8; 256]§Reserved7: [u8; 768]§Reserved8: [u8; 256]§PDS: [NVME_POWER_STATE_DESC; 32]§VS: [u8; 1024]

Trait Implementations§

§

impl Clone for NVME_IDENTIFY_CONTROLLER_DATA

§

fn clone(&self) -> NVME_IDENTIFY_CONTROLLER_DATA

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for NVME_IDENTIFY_CONTROLLER_DATA

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
§

impl Default for NVME_IDENTIFY_CONTROLLER_DATA

§

fn default() -> Self

Returns the “default value” for a type. Read more
§

impl PartialEq for NVME_IDENTIFY_CONTROLLER_DATA

§

fn eq(&self, other: &NVME_IDENTIFY_CONTROLLER_DATA) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
§

impl Copy for NVME_IDENTIFY_CONTROLLER_DATA

§

impl Eq for NVME_IDENTIFY_CONTROLLER_DATA

§

impl StructuralPartialEq for NVME_IDENTIFY_CONTROLLER_DATA

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where T: Clone,

source§

default unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> CloneToUninit for T
where T: Copy,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T, U> Param<T, CopyType> for U
where T: TypeKind<TypeKind = CopyType> + Clone, U: TypeKind<TypeKind = CopyType> + Clone + CanInto<T>,

§

unsafe fn param(self) -> ParamValue<T>

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.