Struct tokio_rustls::Accept
source · pub struct Accept<IO>(/* private fields */);
Expand description
Future returned from TlsAcceptor::accept
which will resolve
once the accept handshake has finished.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<IO> Freeze for Accept<IO>where
IO: Freeze,
impl<IO> !RefUnwindSafe for Accept<IO>
impl<IO> Send for Accept<IO>where
IO: Send,
impl<IO> Sync for Accept<IO>where
IO: Sync,
impl<IO> Unpin for Accept<IO>where
IO: Unpin,
impl<IO> !UnwindSafe for Accept<IO>
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
source§impl<F> IntoFuture for Fwhere
F: Future,
impl<F> IntoFuture for Fwhere
F: Future,
§type IntoFuture = F
type IntoFuture = F
Which kind of future are we turning this into?
source§fn into_future(self) -> <F as IntoFuture>::IntoFuture
fn into_future(self) -> <F as IntoFuture>::IntoFuture
Creates a future from a value. Read more