Enum evdev_rs::ReadStatus
source · pub enum ReadStatus {
Success,
Sync,
}
Variants§
Success
next_event
has finished without an error and an event is available
for processing.
Sync
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<ReadStatus> for ReadStatus
impl PartialEq<ReadStatus> 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 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