Trait ScanEventHandler
pub trait ScanEventHandler: Send + 'static
Handler trait for receivers of ScanEvent.
Very much the same as EventHandler, but including the Result.
See the full example for more information.
Required Methods
fn handle_event(&mut self, event: ScanEvent)Handles an event.
Implementors
impl ScanEventHandler for ()impl ScanEventHandler for Sender<ScanEvent>impl<F> ScanEventHandler for F where F: FnMut(ScanEvent) + Send + 'static,