Struct tls_listener::Until
source · [−]pub struct Until<A, E> { /* private fields */ }
Expand description
Trait Implementations
sourceimpl<A: AsyncAccept, E: Future> AsyncAccept for Until<A, E>
impl<A: AsyncAccept, E: Future> AsyncAccept for Until<A, E>
type Connection = A::Connection
type Connection = A::Connection
The type of the connection that is accepted.
sourcefn poll_accept(
self: Pin<&mut Self>,
cx: &mut Context<'_>
) -> Poll<Option<Result<Self::Connection, Self::Error>>>
fn poll_accept(
self: Pin<&mut Self>,
cx: &mut Context<'_>
) -> Poll<Option<Result<Self::Connection, Self::Error>>>
Poll to accept the next connection.
impl<'__pin, A, E> Unpin for Until<A, E> where
__Origin<'__pin, A, E>: Unpin,
Auto Trait Implementations
impl<A, E> RefUnwindSafe for Until<A, E> where
A: RefUnwindSafe,
E: RefUnwindSafe,
impl<A, E> Send for Until<A, E> where
A: Send,
E: Send,
impl<A, E> Sync for Until<A, E> where
A: Sync,
E: Sync,
impl<A, E> UnwindSafe for Until<A, E> where
A: UnwindSafe,
E: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more