pub struct EventSuppressDesc(/* private fields */);
Expand description
Event Suppression Flags
Implementations§
Source§impl EventSuppressDesc
impl EventSuppressDesc
Sourcepub const fn desc_event_off(&self) -> u16
pub const fn desc_event_off(&self) -> u16
Descriptor Ring Change Event Offset
Bits: 0..15
Sourcepub const fn with_desc_event_off_checked(self, value: u16) -> Result<Self, ()>
pub const fn with_desc_event_off_checked(self, value: u16) -> Result<Self, ()>
Descriptor Ring Change Event Offset
Bits: 0..15
Sourcepub const fn with_desc_event_off(self, value: u16) -> Self
pub const fn with_desc_event_off(self, value: u16) -> Self
Descriptor Ring Change Event Offset
Bits: 0..15
Sourcepub fn set_desc_event_off(&mut self, value: u16)
pub fn set_desc_event_off(&mut self, value: u16)
Descriptor Ring Change Event Offset
Bits: 0..15
Sourcepub fn set_desc_event_off_checked(&mut self, value: u16) -> Result<(), ()>
pub fn set_desc_event_off_checked(&mut self, value: u16) -> Result<(), ()>
Descriptor Ring Change Event Offset
Bits: 0..15
Sourcepub const fn desc_event_wrap(&self) -> u8
pub const fn desc_event_wrap(&self) -> u8
Descriptor Ring Change Event Wrap Counter
Bits: 15..16
Sourcepub const fn with_desc_event_wrap_checked(self, value: u8) -> Result<Self, ()>
pub const fn with_desc_event_wrap_checked(self, value: u8) -> Result<Self, ()>
Descriptor Ring Change Event Wrap Counter
Bits: 15..16
Sourcepub const fn with_desc_event_wrap(self, value: u8) -> Self
pub const fn with_desc_event_wrap(self, value: u8) -> Self
Descriptor Ring Change Event Wrap Counter
Bits: 15..16
Sourcepub fn set_desc_event_wrap(&mut self, value: u8)
pub fn set_desc_event_wrap(&mut self, value: u8)
Descriptor Ring Change Event Wrap Counter
Bits: 15..16
Trait Implementations§
Source§impl Clone for EventSuppressDesc
impl Clone for EventSuppressDesc
Source§fn clone(&self) -> EventSuppressDesc
fn clone(&self) -> EventSuppressDesc
Returns a copy 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 EventSuppressDesc
impl Debug for EventSuppressDesc
Source§impl Default for EventSuppressDesc
impl Default for EventSuppressDesc
Source§impl From<EventSuppressDesc> for le16
impl From<EventSuppressDesc> for le16
Source§fn from(v: EventSuppressDesc) -> le16
fn from(v: EventSuppressDesc) -> le16
Converts to this type from the input type.
impl Copy for EventSuppressDesc
Auto Trait Implementations§
impl Freeze for EventSuppressDesc
impl RefUnwindSafe for EventSuppressDesc
impl Send for EventSuppressDesc
impl Sync for EventSuppressDesc
impl Unpin for EventSuppressDesc
impl UnwindSafe for EventSuppressDesc
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