Trait notify::poll::ScanEventHandler
source · pub trait ScanEventHandler: Send + 'static {
// Required method
fn handle_event(&mut self, event: ScanEvent);
}
Expand description
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§
sourcefn handle_event(&mut self, event: ScanEvent)
fn handle_event(&mut self, event: ScanEvent)
Handles an event.