Function wlan_hw_sim::event::on_scan

source ·
pub fn on_scan<H, S, E>(handler: H) -> impl Handler<S, E, Output = H::Output>
where H: Handler<S, StartScanArgs>, E: AsEvent<StartScanArgs>,
Expand description

Filters WlantapPhyEvents to StartScanArgs.

The composed event handler must accept StartScanArgs and is only invoked when such an event is received by the filter. Otherwise, the filter returns Handled::Unmatched.