nvme_spec

Struct Status

Source
#[repr(transparent)]
pub struct Status(pub u16);

Tuple Fields§

§0: u16

Implementations§

Source§

impl Status

Source

pub const SUCCESS: Status

Source

pub const INVALID_COMMAND_OPCODE: Status

Source

pub const INVALID_FIELD_IN_COMMAND: Status

Source

pub const COMMAND_ID_CONFLICT: Status

Source

pub const DATA_TRANSFER_ERROR: Status

Source

pub const COMMANDS_ABORTED_DUE_TO_POWER_LOSS_NOTIFICATION: Status

Source

pub const INTERNAL_ERROR: Status

Source

pub const COMMAND_ABORT_REQUESTED: Status

Source

pub const COMMAND_ABORTED_DUE_TO_SQ_DELETION: Status

Source

pub const COMMAND_ABORTED_DUE_TO_FAILED_FUSED_COMMAND: Status

Source

pub const COMMAND_ABORTED_DUE_TO_MISSING_FUSED_COMMAND: Status

Source

pub const INVALID_NAMESPACE_OR_FORMAT: Status

Source

pub const COMMAND_SEQUENCE_ERROR: Status

Source

pub const INVALID_SGL_SEGMENT_DESCRIPTOR: Status

Source

pub const INVALID_NUMBER_OF_SGL_DESCRIPTORS: Status

Source

pub const DATA_SGL_LENGTH_INVALID: Status

Source

pub const METADATA_SGL_LENGTH_INVALID: Status

Source

pub const SGL_DESCRIPTOR_TYPE_INVALID: Status

Source

pub const INVALID_USE_OF_CONTROLLER_MEMORY_BUFFER: Status

Source

pub const PRP_OFFSET_INVALID: Status

Source

pub const ATOMIC_WRITE_UNIT_EXCEEDED: Status

Source

pub const OPERATION_DENIED: Status

Source

pub const SGL_OFFSET_INVALID: Status

Source

pub const RESERVED: Status

Source

pub const HOST_IDENTIFIER_INCONSISTENT_FORMAT: Status

Source

pub const KEEP_ALIVE_TIMER_EXPIRED: Status

Source

pub const KEEP_ALIVE_TIMEOUT_INVALID: Status

Source

pub const COMMAND_ABORTED_DUE_TO_PREEMPT_AND_ABORT: Status

Source

pub const SANITIZE_FAILED: Status

Source

pub const SANITIZE_IN_PROGRESS: Status

Source

pub const SGL_DATA_BLOCK_GRANULARITY_INVALID: Status

Source

pub const COMMAND_NOT_SUPPORTED_FOR_QUEUE_IN_CMB: Status

Source

pub const NAMESPACE_IS_WRITE_PROTECTED: Status

Source

pub const COMMAND_INTERRUPTED: Status

Source

pub const TRANSIENT_TRANSPORT_ERROR: Status

Source

pub const COMMAND_PROHIBITED_BY_COMMAND_AND_FEATURE_LOCKDOWN: Status

Source

pub const ADMIN_COMMAND_MEDIA_NOT_READY: Status

Source

pub const LBA_OUT_OF_RANGE: Status

Source

pub const CAPACITY_EXCEEDED: Status

Source

pub const NAMESPACE_NOT_READY: Status

Source

pub const RESERVATION_CONFLICT: Status

Source

pub const FORMAT_IN_PROGRESS: Status

Source

pub const COMPLETION_QUEUE_INVALID: Status

Source

pub const INVALID_QUEUE_IDENTIFIER: Status

Source

pub const INVALID_QUEUE_SIZE: Status

Source

pub const ABORT_COMMAND_LIMIT_EXCEEDED: Status

Source

pub const RESERVED2: Status

Source

pub const ASYNCHRONOUS_EVENT_REQUEST_LIMIT_EXCEEDED: Status

Source

pub const INVALID_FIRMWARE_SLOT: Status

Source

pub const INVALID_FIRMWARE_IMAGE: Status

Source

pub const INVALID_INTERRUPT_VECTOR: Status

Source

pub const INVALID_LOG_PAGE: Status

Source

pub const INVALID_FORMAT: Status

Source

pub const FIRMWARE_ACTIVATION_REQUIRES_CONVENTIONAL_RESET: Status

Source

pub const INVALID_QUEUE_DELETION: Status

Source

pub const FEATURE_IDENTIFIER_NOT_SAVEABLE: Status

Source

pub const FEATURE_NOT_CHANGEABLE: Status

Source

pub const FEATURE_NOT_NAMESPACE_SPECIFIC: Status

Source

pub const FIRMWARE_ACTIVATION_REQUIRES_NVM_SUBSYSTEM_RESET: Status

Source

pub const FIRMWARE_ACTIVATION_REQUIRES_CONTROLLER_LEVEL_RESET: Status

Source

pub const FIRMWARE_ACTIVATION_REQUIRES_MAXIMUM_TIME_VIOLATION: Status

Source

pub const FIRMWARE_ACTIVATION_PROHIBITED: Status

Source

pub const OVERLAPPING_RANGE: Status

Source

pub const NAMESPACE_INSUFFICIENT_CAPACITY: Status

Source

pub const NAMESPACE_IDENTIFIER_UNAVAILABLE: Status

Source

pub const RESERVED3: Status

Source

pub const NAMESPACE_ALREADY_ATTACHED: Status

Source

pub const NAMESPACE_IS_PRIVATE: Status

Source

pub const NAMESPACE_NOT_ATTACHED: Status

Source

pub const THIN_PROVISIONING_NOT_SUPPORTED: Status

Source

pub const CONTROLLER_LIST_INVALID: Status

Source

pub const DEVICE_SELF_TEST_IN_PROGRESS: Status

Source

pub const BOOT_PARTITION_WRITE_PROHIBITED: Status

Source

pub const INVALID_CONTROLLER_IDENTIFIER: Status

Source

pub const INVALID_SECONDARY_CONTROLLER_STATE: Status

Source

pub const INVALID_NUMBER_OF_CONTROLLER_RESOURCES: Status

Source

pub const INVALID_RESOURCE_IDENTIFIER: Status

Source

pub const SANITIZE_PROHIBITED_WHILE_PERSISTENT_MEMORY_REGION_IS_ENABLED: Status

Source

pub const ANA_GROUP_IDENTIFIER_INVALID: Status

Source

pub const ANA_ATTACH_FAILED: Status

Source

pub const INSUFFICIENT_CAPACITY: Status

Source

pub const NAMESPACE_ATTACHMENT_LIMIT_EXCEEDED: Status

Source

pub const PROHIBITION_OF_COMMAND_EXECUTION_NOT_SUPPORTED: Status

Source

pub const IO_COMMAND_SET_NOT_SUPPORTED: Status

Source

pub const IO_COMMAND_SET_NOT_ENABLED: Status

Source

pub const IO_COMMAND_SET_COMBINATION_REJECTED: Status

Source

pub const INVALID_IO_COMMAND_SET: Status

Source

pub const IDENTIFIER_UNAVAILABLE: Status

Source

pub const CONFLICTING_ATTRIBUTES: Status

Source

pub const INVALID_PROTECTION_INFORMATION: Status

Source

pub const ATTEMPTED_WRITE_TO_READ_ONLY_RANGE: Status

Source

pub const COMMAND_SIZE_LIMIT_EXCEEDED: Status

Source

pub const MEDIA_WRITE_FAULT: Status

Source

pub const MEDIA_UNRECOVERED_READ_ERROR: Status

Source

pub const MEDIA_END_TO_END_GUARD_CHECK_ERROR: Status

Source

pub const MEDIA_END_TO_END_APPLICATION_TAG_CHECK_ERROR: Status

Source

pub const MEDIA_END_TO_END_REFERENCE_TAG_CHECK_ERROR: Status

Source

pub const MEDIA_COMPARE_FAILURE: Status

Source

pub const MEDIA_ACCESS_DENIED: Status

Source

pub const MEDIA_DEALLOCATED_OR_UNWRITTEN_LOGICAL_BLOCK: Status

Source§

impl Status

Trait Implementations§

Source§

impl Clone for Status

Source§

fn clone(&self) -> Status

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 Status

Source§

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

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

impl Default for Status

Source§

fn default() -> Status

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

impl Hash for Status

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 Ord for Status

Source§

fn cmp(&self, other: &Status) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · Source§

fn max(self, other: Self) -> Self
where Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · Source§

fn min(self, other: Self) -> Self
where Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · Source§

fn clamp(self, min: Self, max: Self) -> Self
where Self: Sized,

Restrict a value to a certain interval. Read more
Source§

impl PartialEq for Status

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

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

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

impl PartialOrd for Status

Source§

fn partial_cmp(&self, other: &Status) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · Source§

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

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · Source§

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

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · Source§

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

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · Source§

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

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
Source§

impl Copy for Status

Source§

impl Eq for Status

Source§

impl StructuralPartialEq for Status

Auto Trait Implementations§

§

impl Freeze for Status

§

impl RefUnwindSafe for Status

§

impl Send for Status

§

impl Sync for Status

§

impl Unpin for Status

§

impl UnwindSafe for Status

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, dst: *mut u8)

🔬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.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
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.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more