pub struct TapIo<L, F> { /* private fields */ }Expand description
Return type of ListenerExt::tap_io.
See that method for details.
Trait Implementations§
Auto Trait Implementations§
impl<L, F> Freeze for TapIo<L, F>
impl<L, F> RefUnwindSafe for TapIo<L, F>where
L: RefUnwindSafe,
F: RefUnwindSafe,
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> UnsafeUnpin for TapIo<L, F>where
L: UnsafeUnpin,
F: UnsafeUnpin,
impl<L, F> UnwindSafe for TapIo<L, F>where
L: UnwindSafe,
F: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<L> ListenerExt for Lwhere
L: Listener,
impl<L> ListenerExt for Lwhere
L: Listener,
Source§fn limit_connections(self, limit: usize) -> ConnLimiter<Self>
fn limit_connections(self, limit: usize) -> ConnLimiter<Self>
Limit the number of concurrent connections. Once the limit has
been reached, no additional connections will be accepted until
an existing connection is closed. Listener implementations will
typically continue to queue incoming connections, up to an OS
and implementation-specific listener backlog limit. Read more