pub fn on_scan<H, S, E>(handler: H) -> impl Handler<S, E, Output = H::Output>
Expand description
Filters WlantapPhyEvent
s 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
.