pub enum EventMaskParseError {
TooManyBitsSet(EventMask),
QueueOverflow,
}Expand description
An error that occured from parsing an raw event mask
Variants§
TooManyBitsSet(EventMask)
More than one bit repesenting the event type was set
QueueOverflow
The event is a signal that the kernels event queue overflowed
Trait Implementations§
Source§impl Clone for EventMaskParseError
impl Clone for EventMaskParseError
Source§fn clone(&self) -> EventMaskParseError
fn clone(&self) -> EventMaskParseError
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 EventMaskParseError
impl Debug for EventMaskParseError
Source§impl Display for EventMaskParseError
impl Display for EventMaskParseError
Source§impl Error for EventMaskParseError
impl Error for EventMaskParseError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl PartialEq for EventMaskParseError
impl PartialEq for EventMaskParseError
impl Copy for EventMaskParseError
impl Eq for EventMaskParseError
impl StructuralPartialEq for EventMaskParseError
Auto Trait Implementations§
impl Freeze for EventMaskParseError
impl RefUnwindSafe for EventMaskParseError
impl Send for EventMaskParseError
impl Sync for EventMaskParseError
impl Unpin for EventMaskParseError
impl UnwindSafe for EventMaskParseError
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