Enum evdev_rs::ReadStatus
source · pub enum ReadStatus {
Success = 0,
Sync = 1,
}
Variants§
Success = 0
next_event
has finished without an error and an event is available
for processing.
Sync = 1
Depending on the next_event
read flag:
libevdev received a SYN_DROPPED from the device, and the caller should
now resync the device, or, an event has been read in sync mode.
Trait Implementations§
source§impl PartialEq for ReadStatus
impl PartialEq for ReadStatus
source§fn eq(&self, other: &ReadStatus) -> bool
fn eq(&self, other: &ReadStatus) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ReadStatus
Auto Trait Implementations§
impl Freeze for ReadStatus
impl RefUnwindSafe for ReadStatus
impl Send for ReadStatus
impl Sync for ReadStatus
impl Unpin for ReadStatus
impl UnwindSafe for ReadStatus
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