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
sourceimpl PartialEq<ReadStatus> for ReadStatus
impl PartialEq<ReadStatus> for ReadStatus
sourcefn eq(&self, other: &ReadStatus) -> bool
fn eq(&self, other: &ReadStatus) -> bool
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more