#[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

source§

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)

Performs copy-assignment from source. Read more
source§

impl Debug for nvme_id_ns

source§

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

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

impl Default for nvme_id_ns

source§

fn default() -> Self

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

impl PartialEq<nvme_id_ns> for nvme_id_ns

source§

fn eq(&self, other: &nvme_id_ns) -> 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_ns

source§

impl Eq for nvme_id_ns

source§

impl StructuralEq for nvme_id_ns

source§

impl StructuralPartialEq for nvme_id_ns

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.