#[repr(u8)]pub enum FeatureSelect {
Current = 0,
Default = 1,
Saved = 2,
Supported = 3,
}Expand description
Which “view” of a feature value the Get Features command should return.
Variants§
Current = 0
The currently-active value for the feature.
Default = 1
The default value the controller ships with.
Saved = 2
The most recently saved value (if the feature supports save).
Supported = 3
The set of supported capabilities for the feature, encoded in the result dword. See the NVMe spec for the per-feature encoding.
Trait Implementations§
Source§impl Clone for FeatureSelect
impl Clone for FeatureSelect
Source§fn clone(&self) -> FeatureSelect
fn clone(&self) -> FeatureSelect
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FeatureSelect
impl Debug for FeatureSelect
Source§impl Default for FeatureSelect
impl Default for FeatureSelect
Source§fn default() -> FeatureSelect
fn default() -> FeatureSelect
Returns the “default value” for a type. Read more
Source§impl PartialEq for FeatureSelect
impl PartialEq for FeatureSelect
Source§fn eq(&self, other: &FeatureSelect) -> bool
fn eq(&self, other: &FeatureSelect) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for FeatureSelect
impl Eq for FeatureSelect
impl StructuralPartialEq for FeatureSelect
Auto Trait Implementations§
impl Freeze for FeatureSelect
impl RefUnwindSafe for FeatureSelect
impl Send for FeatureSelect
impl Sync for FeatureSelect
impl Unpin for FeatureSelect
impl UnsafeUnpin for FeatureSelect
impl UnwindSafe for FeatureSelect
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more