on_transmit

Function on_transmit 

Source
pub fn on_transmit<H, S, E>(
    handler: H,
) -> impl Handler<S, E, Output = H::Output>
where H: Handler<S, TxArgs>, E: AsEvent<TxArgs>,
Expand description

Filters WlantapPhyEvents to TxArgs.

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