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

Filters WlantapPhyEvents to SetCountryArgs.

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