pub struct EventSuppressFlags(/* private fields */);
Implementations§
Source§impl EventSuppressFlags
impl EventSuppressFlags
Sourcepub const fn desc_event_flags(&self) -> RingEventFlags
pub const fn desc_event_flags(&self) -> RingEventFlags
Descriptor Ring Change Event Flags
Bits: 0..2
Sourcepub const fn with_desc_event_flags_checked(
self,
value: RingEventFlags,
) -> Result<Self, ()>
pub const fn with_desc_event_flags_checked( self, value: RingEventFlags, ) -> Result<Self, ()>
Descriptor Ring Change Event Flags
Bits: 0..2
Sourcepub const fn with_desc_event_flags(self, value: RingEventFlags) -> Self
pub const fn with_desc_event_flags(self, value: RingEventFlags) -> Self
Descriptor Ring Change Event Flags
Bits: 0..2
Sourcepub fn set_desc_event_flags(&mut self, value: RingEventFlags)
pub fn set_desc_event_flags(&mut self, value: RingEventFlags)
Descriptor Ring Change Event Flags
Bits: 0..2
Sourcepub fn set_desc_event_flags_checked(
&mut self,
value: RingEventFlags,
) -> Result<(), ()>
pub fn set_desc_event_flags_checked( &mut self, value: RingEventFlags, ) -> Result<(), ()>
Descriptor Ring Change Event Flags
Bits: 0..2
Sourcepub const fn with_reserved_checked(self, value: u16) -> Result<Self, ()>
pub const fn with_reserved_checked(self, value: u16) -> Result<Self, ()>
Reserved, set to 0
Bits: 2..16
Sourcepub const fn with_reserved(self, value: u16) -> Self
pub const fn with_reserved(self, value: u16) -> Self
Reserved, set to 0
Bits: 2..16
Sourcepub fn set_reserved(&mut self, value: u16)
pub fn set_reserved(&mut self, value: u16)
Reserved, set to 0
Bits: 2..16
Trait Implementations§
Source§impl Clone for EventSuppressFlags
impl Clone for EventSuppressFlags
Source§fn clone(&self) -> EventSuppressFlags
fn clone(&self) -> EventSuppressFlags
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 EventSuppressFlags
impl Debug for EventSuppressFlags
Source§impl Default for EventSuppressFlags
impl Default for EventSuppressFlags
Source§impl From<EventSuppressFlags> for le16
impl From<EventSuppressFlags> for le16
Source§fn from(v: EventSuppressFlags) -> le16
fn from(v: EventSuppressFlags) -> le16
Converts to this type from the input type.
impl Copy for EventSuppressFlags
Auto Trait Implementations§
impl Freeze for EventSuppressFlags
impl RefUnwindSafe for EventSuppressFlags
impl Send for EventSuppressFlags
impl Sync for EventSuppressFlags
impl Unpin for EventSuppressFlags
impl UnwindSafe for EventSuppressFlags
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