Enum uhid_virt::StreamError
source · pub enum StreamError {
Io(Error),
UnknownEventType(u32),
}
Expand description
Any IO error will probably be ‘permission-denied’ if you don’t have access to open /dev/uhid
An unknown event type error should only occur if a new event has been added to uhid-sys
that this wrapper is unaware of.
Variants§
Auto Trait Implementations§
impl !RefUnwindSafe for StreamError
impl Send for StreamError
impl Sync for StreamError
impl Unpin for StreamError
impl !UnwindSafe for StreamError
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