pub struct Cdw11FeatureInterruptVectorConfig(/* private fields */);Expand description
Interrupt Vector Configuration feature (09h). See NVMe Base 2.3 Figure 475.
Implementations§
Source§impl Cdw11FeatureInterruptVectorConfig
impl Cdw11FeatureInterruptVectorConfig
Sourcepub const fn with_iv_checked(self, value: u16) -> Result<Self, ()>
pub const fn with_iv_checked(self, value: u16) -> Result<Self, ()>
Interrupt Vector
Bits: 0..16
Sourcepub const fn set_iv_checked(&mut self, value: u16) -> Result<(), ()>
pub const fn set_iv_checked(&mut self, value: u16) -> Result<(), ()>
Interrupt Vector
Bits: 0..16
Sourcepub const fn with_cd_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_cd_checked(self, value: bool) -> Result<Self, ()>
Coalescing Disable
Bits: 16..17
Trait Implementations§
Source§impl Clone for Cdw11FeatureInterruptVectorConfig
impl Clone for Cdw11FeatureInterruptVectorConfig
Source§fn clone(&self) -> Cdw11FeatureInterruptVectorConfig
fn clone(&self) -> Cdw11FeatureInterruptVectorConfig
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<Cdw11FeatureInterruptVectorConfig> for u32
impl From<Cdw11FeatureInterruptVectorConfig> for u32
Source§fn from(v: Cdw11FeatureInterruptVectorConfig) -> u32
fn from(v: Cdw11FeatureInterruptVectorConfig) -> u32
Converts to this type from the input type.
Source§impl From<u32> for Cdw11FeatureInterruptVectorConfig
impl From<u32> for Cdw11FeatureInterruptVectorConfig
impl Copy for Cdw11FeatureInterruptVectorConfig
Auto Trait Implementations§
impl Freeze for Cdw11FeatureInterruptVectorConfig
impl RefUnwindSafe for Cdw11FeatureInterruptVectorConfig
impl Send for Cdw11FeatureInterruptVectorConfig
impl Sync for Cdw11FeatureInterruptVectorConfig
impl Unpin for Cdw11FeatureInterruptVectorConfig
impl UnsafeUnpin for Cdw11FeatureInterruptVectorConfig
impl UnwindSafe for Cdw11FeatureInterruptVectorConfig
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