Function wlan_hw_sim::event::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.