Trait djio::hid::thread::EventHandler

source ·
pub trait EventHandler {
    // Required method
    fn handle_event(&mut self, event: Event<'_>);
}

Required Methods§

source

fn handle_event(&mut self, event: Event<'_>)

Handle an event within the thread.

This function is invoked in the thread context and should not block the worker thread for longer than needed!

Implementors§