Trait InputDevice

Source
pub trait InputDevice:
    Debug
    + Send
    + Sync {
    // Required method
    fn blocking_read(
        &mut self,
        timeout: Duration,
    ) -> Result<Option<InternalEvent>, Error>;
}

Required Methods§

Source

fn blocking_read( &mut self, timeout: Duration, ) -> Result<Option<InternalEvent>, Error>

Implementations on Foreign Types§

Source§

impl<'a, T> InputDevice for &'a mut T
where T: InputDevice + ?Sized,

Source§

impl<T> InputDevice for Box<T>
where T: InputDevice + ?Sized,

Implementors§