#[repr(C)]
pub struct nvme_id_ctrl {
Show 85 fields pub vid: __le16, pub ssvid: __le16, pub sn: [c_char; 20], pub mn: [c_char; 40], pub fr: [c_char; 8], pub rab: __u8, pub ieee: [__u8; 3], pub cmic: __u8, pub mdts: __u8, pub cntlid: __le16, pub ver: __le32, pub rtd3r: __le32, pub rtd3e: __le32, pub oaes: __le32, pub ctratt: __le32, pub rrls: __le16, pub rsvd102: [__u8; 9], pub cntrltype: __u8, pub fguid: [c_char; 16], pub crdt1: __le16, pub crdt2: __le16, pub crdt3: __le16, pub rsvd134: [__u8; 122], pub oacs: __le16, pub acl: __u8, pub aerl: __u8, pub frmw: __u8, pub lpa: __u8, pub elpe: __u8, pub npss: __u8, pub avscc: __u8, pub apsta: __u8, pub wctemp: __le16, pub cctemp: __le16, pub mtfa: __le16, pub hmpre: __le32, pub hmmin: __le32, pub tnvmcap: [__u8; 16], pub unvmcap: [__u8; 16], pub rpmbs: __le32, pub edstt: __le16, pub dsto: __u8, pub fwug: __u8, pub kas: __le16, pub hctma: __le16, pub mntmt: __le16, pub mxtmt: __le16, pub sanicap: __le32, pub hmminds: __le32, pub hmmaxd: __le16, pub nsetidmax: __le16, pub endgidmax: __le16, pub anatt: __u8, pub anacap: __u8, pub anagrpmax: __le32, pub nanagrpid: __le32, pub pels: __le32, pub rsvd356: [__u8; 156], pub sqes: __u8, pub cqes: __u8, pub maxcmd: __le16, pub nn: __le32, pub oncs: __le16, pub fuses: __le16, pub fna: __u8, pub vwc: __u8, pub awun: __le16, pub awupf: __le16, pub nvscc: __u8, pub nwpc: __u8, pub acwu: __le16, pub rsvd534: [__u8; 2], pub sgls: __le32, pub mnan: __le32, pub rsvd544: [__u8; 224], pub subnqn: [c_char; 256], pub rsvd1024: [__u8; 768], pub ioccsz: __le32, pub iorcsz: __le32, pub icdoff: __le16, pub ctrattr: __u8, pub msdbd: __u8, pub rsvd1804: [__u8; 244], pub psd: [nvme_id_power_state; 32], pub vs: [__u8; 1024],
}

Fields§

§vid: __le16§ssvid: __le16§sn: [c_char; 20]§mn: [c_char; 40]§fr: [c_char; 8]§rab: __u8§ieee: [__u8; 3]§cmic: __u8§mdts: __u8§cntlid: __le16§ver: __le32§rtd3r: __le32§rtd3e: __le32§oaes: __le32§ctratt: __le32§rrls: __le16§rsvd102: [__u8; 9]§cntrltype: __u8§fguid: [c_char; 16]§crdt1: __le16§crdt2: __le16§crdt3: __le16§rsvd134: [__u8; 122]§oacs: __le16§acl: __u8§aerl: __u8§frmw: __u8§lpa: __u8§elpe: __u8§npss: __u8§avscc: __u8§apsta: __u8§wctemp: __le16§cctemp: __le16§mtfa: __le16§hmpre: __le32§hmmin: __le32§tnvmcap: [__u8; 16]§unvmcap: [__u8; 16]§rpmbs: __le32§edstt: __le16§dsto: __u8§fwug: __u8§kas: __le16§hctma: __le16§mntmt: __le16§mxtmt: __le16§sanicap: __le32§hmminds: __le32§hmmaxd: __le16§nsetidmax: __le16§endgidmax: __le16§anatt: __u8§anacap: __u8§anagrpmax: __le32§nanagrpid: __le32§pels: __le32§rsvd356: [__u8; 156]§sqes: __u8§cqes: __u8§maxcmd: __le16§nn: __le32§oncs: __le16§fuses: __le16§fna: __u8§vwc: __u8§awun: __le16§awupf: __le16§nvscc: __u8§nwpc: __u8§acwu: __le16§rsvd534: [__u8; 2]§sgls: __le32§mnan: __le32§rsvd544: [__u8; 224]§subnqn: [c_char; 256]§rsvd1024: [__u8; 768]§ioccsz: __le32§iorcsz: __le32§icdoff: __le16§ctrattr: __u8§msdbd: __u8§rsvd1804: [__u8; 244]§psd: [nvme_id_power_state; 32]§vs: [__u8; 1024]

Trait Implementations§

source§

impl Clone for nvme_id_ctrl

source§

fn clone(&self) -> nvme_id_ctrl

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
source§

impl Debug for nvme_id_ctrl

source§

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

Formats the value using the given formatter. Read more
source§

impl Default for nvme_id_ctrl

source§

fn default() -> Self

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

impl PartialEq<nvme_id_ctrl> for nvme_id_ctrl

source§

fn eq(&self, other: &nvme_id_ctrl) -> 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.
source§

impl Copy for nvme_id_ctrl

source§

impl Eq for nvme_id_ctrl

source§

impl StructuralEq for nvme_id_ctrl

source§

impl StructuralPartialEq for nvme_id_ctrl

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. 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 Twhere 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.

source§

impl<T> ToOwned for Twhere 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 Twhere 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 Twhere 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.