pub struct FallibleAccept<IO>(/* private fields */);
๐Deprecated since 0.4.2: This crate is now deprecated in favor of futures-rustls.
Expand description
Like Accept, but returns IO
on failure.
Trait Implementationsยง
Sourceยงimpl<IO: AsyncRead + AsyncWrite + Unpin> Future for FallibleAccept<IO>
impl<IO: AsyncRead + AsyncWrite + Unpin> Future for FallibleAccept<IO>
Auto Trait Implementationsยง
impl<IO> Freeze for FallibleAccept<IO>where
IO: Freeze,
impl<IO> !RefUnwindSafe for FallibleAccept<IO>
impl<IO> Send for FallibleAccept<IO>where
IO: Send,
impl<IO> Sync for FallibleAccept<IO>where
IO: Sync,
impl<IO> Unpin for FallibleAccept<IO>where
IO: Unpin,
impl<IO> !UnwindSafe for FallibleAccept<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,
Sourceยง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