Enum uhid_virt::StreamError[][src]

pub enum StreamError {
    Io(Error),
    UnknownEventType(u32),
}

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

Io(Error)
UnknownEventType(u32)

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.