Trait ListenerExt
trait ListenerExt: Listener + Sized
Extensions to Listener.
Provided Methods
fn tap_io<F>(self: Self, tap_fn: F) -> TapIo<Self, F> where F: FnMut(&mut <Self as >::Io) + Send + 'staticRun a mutable closure on every accepted
Io.Example
use ; use trace; # async ;
Implementors
impl<L: Listener> ListenerExt for Limpl<L> ListenerExt for TapIo<L, F>