Struct TapIo

struct TapIo<L, F> { ... }

Return type of ListenerExt::tap_io.

See that method for details.

Implementations

impl<L> ListenerExt for TapIo<L, F>

impl<L, F> Debug for TapIo<L, F>

fn fmt(self: &Self, f: &mut fmt::Formatter<'_>) -> fmt::Result

impl<L, F> Freeze for TapIo<L, F>

impl<L, F> Listener for TapIo<L, F>

async fn accept(self: &mut Self) -> (<Self as >::Io, <Self as >::Addr)
fn local_addr(self: &Self) -> io::Result<<Self as >::Addr>

impl<L, F> RefUnwindSafe for TapIo<L, F>

impl<L, F> Send for TapIo<L, F>

impl<L, F> Sync for TapIo<L, F>

impl<L, F> Unpin for TapIo<L, F>

impl<L, F> UnwindSafe for TapIo<L, F>

impl<T> Any for TapIo<L, F>

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for TapIo<L, F>

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for TapIo<L, F>

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> From for TapIo<L, F>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> Instrument for TapIo<L, F>

impl<T> Same for TapIo<L, F>

impl<T> WithSubscriber for TapIo<L, F>

impl<T, U> Into for TapIo<L, F>

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for TapIo<L, F>

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for TapIo<L, F>

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>

impl<V, T> VZip for TapIo<L, F>

fn vzip(self: Self) -> V