pub struct Cdw11FeatureErrorRecovery(/* private fields */);Expand description
Error Recovery feature (05h). See NVM Command Set 1.2 Figure 96.
Implementations§
Source§impl Cdw11FeatureErrorRecovery
impl Cdw11FeatureErrorRecovery
Sourcepub const fn with_tler_checked(self, value: u16) -> Result<Self, ()>
pub const fn with_tler_checked(self, value: u16) -> Result<Self, ()>
Time Limited Error Recovery, in 100 ms units
Bits: 0..16
Sourcepub const fn with_tler(self, value: u16) -> Self
pub const fn with_tler(self, value: u16) -> Self
Time Limited Error Recovery, in 100 ms units
Bits: 0..16
Sourcepub const fn set_tler(&mut self, value: u16)
pub const fn set_tler(&mut self, value: u16)
Time Limited Error Recovery, in 100 ms units
Bits: 0..16
Sourcepub const fn set_tler_checked(&mut self, value: u16) -> Result<(), ()>
pub const fn set_tler_checked(&mut self, value: u16) -> Result<(), ()>
Time Limited Error Recovery, in 100 ms units
Bits: 0..16
Sourcepub const fn dulbe(&self) -> bool
pub const fn dulbe(&self) -> bool
Deallocated or Unwritten Logical Block Error Enable
Bits: 16..17
Sourcepub const fn with_dulbe_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_dulbe_checked(self, value: bool) -> Result<Self, ()>
Deallocated or Unwritten Logical Block Error Enable
Bits: 16..17
Sourcepub const fn with_dulbe(self, value: bool) -> Self
pub const fn with_dulbe(self, value: bool) -> Self
Deallocated or Unwritten Logical Block Error Enable
Bits: 16..17
Trait Implementations§
Source§impl Clone for Cdw11FeatureErrorRecovery
impl Clone for Cdw11FeatureErrorRecovery
Source§fn clone(&self) -> Cdw11FeatureErrorRecovery
fn clone(&self) -> Cdw11FeatureErrorRecovery
Returns a duplicate of the value. Read more
1.0.0 · 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 Cdw11FeatureErrorRecovery
impl Debug for Cdw11FeatureErrorRecovery
Source§impl Default for Cdw11FeatureErrorRecovery
impl Default for Cdw11FeatureErrorRecovery
Source§impl From<Cdw11FeatureErrorRecovery> for u32
impl From<Cdw11FeatureErrorRecovery> for u32
Source§fn from(v: Cdw11FeatureErrorRecovery) -> u32
fn from(v: Cdw11FeatureErrorRecovery) -> u32
Converts to this type from the input type.
Source§impl From<u32> for Cdw11FeatureErrorRecovery
impl From<u32> for Cdw11FeatureErrorRecovery
impl Copy for Cdw11FeatureErrorRecovery
Auto Trait Implementations§
impl Freeze for Cdw11FeatureErrorRecovery
impl RefUnwindSafe for Cdw11FeatureErrorRecovery
impl Send for Cdw11FeatureErrorRecovery
impl Sync for Cdw11FeatureErrorRecovery
impl Unpin for Cdw11FeatureErrorRecovery
impl UnsafeUnpin for Cdw11FeatureErrorRecovery
impl UnwindSafe for Cdw11FeatureErrorRecovery
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