pub struct Cdw11FeatureInterruptCoalescing(/* private fields */);Expand description
Interrupt Coalescing feature (08h). See NVMe Base 2.3 Figure 474.
Implementations§
Source§impl Cdw11FeatureInterruptCoalescing
impl Cdw11FeatureInterruptCoalescing
Sourcepub const fn with_thr_checked(self, value: u8) -> Result<Self, ()>
pub const fn with_thr_checked(self, value: u8) -> Result<Self, ()>
Aggregation Threshold (0-based)
Bits: 0..8
Sourcepub const fn set_thr_checked(&mut self, value: u8) -> Result<(), ()>
pub const fn set_thr_checked(&mut self, value: u8) -> Result<(), ()>
Aggregation Threshold (0-based)
Bits: 0..8
Sourcepub const fn with_time_checked(self, value: u8) -> Result<Self, ()>
pub const fn with_time_checked(self, value: u8) -> Result<Self, ()>
Aggregation Time, in 100 µs units (0h = no delay)
Bits: 8..16
Sourcepub const fn with_time(self, value: u8) -> Self
pub const fn with_time(self, value: u8) -> Self
Aggregation Time, in 100 µs units (0h = no delay)
Bits: 8..16
Trait Implementations§
Source§impl Clone for Cdw11FeatureInterruptCoalescing
impl Clone for Cdw11FeatureInterruptCoalescing
Source§fn clone(&self) -> Cdw11FeatureInterruptCoalescing
fn clone(&self) -> Cdw11FeatureInterruptCoalescing
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 From<Cdw11FeatureInterruptCoalescing> for u32
impl From<Cdw11FeatureInterruptCoalescing> for u32
Source§fn from(v: Cdw11FeatureInterruptCoalescing) -> u32
fn from(v: Cdw11FeatureInterruptCoalescing) -> u32
Converts to this type from the input type.
Source§impl From<u32> for Cdw11FeatureInterruptCoalescing
impl From<u32> for Cdw11FeatureInterruptCoalescing
impl Copy for Cdw11FeatureInterruptCoalescing
Auto Trait Implementations§
impl Freeze for Cdw11FeatureInterruptCoalescing
impl RefUnwindSafe for Cdw11FeatureInterruptCoalescing
impl Send for Cdw11FeatureInterruptCoalescing
impl Sync for Cdw11FeatureInterruptCoalescing
impl Unpin for Cdw11FeatureInterruptCoalescing
impl UnsafeUnpin for Cdw11FeatureInterruptCoalescing
impl UnwindSafe for Cdw11FeatureInterruptCoalescing
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