Skip to main content

nvme_feat

Enum nvme_feat 

Source
#[repr(u8)]
pub enum nvme_feat {
Show 34 variants NVME_FEAT_NONE = 0, NVME_FEAT_ARBITRATION = 1, NVME_FEAT_POWER_MGMT = 2, NVME_FEAT_LBA_RANGE = 3, NVME_FEAT_TEMP_THRESH = 4, NVME_FEAT_ERR_RECOVERY = 5, NVME_FEAT_VOLATILE_WC = 6, NVME_FEAT_NUM_QUEUES = 7, NVME_FEAT_IRQ_COALESCE = 8, NVME_FEAT_IRQ_CONFIG = 9, NVME_FEAT_WRITE_ATOMIC = 10, NVME_FEAT_ASYNC_EVENT = 11, NVME_FEAT_AUTO_PST = 12, NVME_FEAT_HOST_MEM_BUF = 13, NVME_FEAT_TIMESTAMP = 14, NVME_FEAT_KATO = 15, NVME_FEAT_HCTM = 16, NVME_FEAT_NOPSC = 17, NVME_FEAT_RRL = 18, NVME_FEAT_PLM_CONFIG = 19, NVME_FEAT_PLM_WINDOW = 20, NVME_LBA_STATUS_INFO = 21, NVME_FEAT_HOST_BEHAVIOR = 22, NVME_FEAT_SANITIZE = 23, NVME_FEAT_ENDURANCE = 24, NVME_FEAT_IOCS_PROFILE = 25, NVME_FEAT_SPINUP_CONTROL = 26, NVME_FEAT_SW_PROGRESS = 128, NVME_FEAT_HOST_ID = 129, NVME_FEAT_RESV_MASK = 130, NVME_FEAT_RESV_PERSIST = 131, NVME_FEAT_WRITE_PROTECT = 132, NVME_MI_FEAT_CTRL_METADATA = 126, NVME_MI_FEAT_NS_METADATA = 127,
}

Variants§

§

NVME_FEAT_NONE = 0

§

NVME_FEAT_ARBITRATION = 1

§

NVME_FEAT_POWER_MGMT = 2

§

NVME_FEAT_LBA_RANGE = 3

§

NVME_FEAT_TEMP_THRESH = 4

§

NVME_FEAT_ERR_RECOVERY = 5

§

NVME_FEAT_VOLATILE_WC = 6

§

NVME_FEAT_NUM_QUEUES = 7

§

NVME_FEAT_IRQ_COALESCE = 8

§

NVME_FEAT_IRQ_CONFIG = 9

§

NVME_FEAT_WRITE_ATOMIC = 10

§

NVME_FEAT_ASYNC_EVENT = 11

§

NVME_FEAT_AUTO_PST = 12

§

NVME_FEAT_HOST_MEM_BUF = 13

§

NVME_FEAT_TIMESTAMP = 14

§

NVME_FEAT_KATO = 15

§

NVME_FEAT_HCTM = 16

§

NVME_FEAT_NOPSC = 17

§

NVME_FEAT_RRL = 18

§

NVME_FEAT_PLM_CONFIG = 19

§

NVME_FEAT_PLM_WINDOW = 20

§

NVME_LBA_STATUS_INFO = 21

§

NVME_FEAT_HOST_BEHAVIOR = 22

§

NVME_FEAT_SANITIZE = 23

§

NVME_FEAT_ENDURANCE = 24

§

NVME_FEAT_IOCS_PROFILE = 25

§

NVME_FEAT_SPINUP_CONTROL = 26

§

NVME_FEAT_SW_PROGRESS = 128

§

NVME_FEAT_HOST_ID = 129

§

NVME_FEAT_RESV_MASK = 130

§

NVME_FEAT_RESV_PERSIST = 131

§

NVME_FEAT_WRITE_PROTECT = 132

§

NVME_MI_FEAT_CTRL_METADATA = 126

§

NVME_MI_FEAT_NS_METADATA = 127

Trait Implementations§

Source§

impl Clone for nvme_feat

Source§

fn clone(&self) -> nvme_feat

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

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

Performs copy-assignment from source. Read more
Source§

impl Copy for nvme_feat

Source§

impl Debug for nvme_feat

Source§

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

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

impl Eq for nvme_feat

Source§

impl Hash for nvme_feat

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl PartialEq for nvme_feat

Source§

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

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

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

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for nvme_feat

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§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. 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.

Source§

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

Source§

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>,

Source§

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>,

Source§

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.