Struct tokio_rustls::Connect [−][src]
pub struct Connect<IO>(_);
Future returned from TlsConnector::connect which will resolve
once the connection handshake has finished.
Implementations
impl<IO> Connect<IO>[src]
impl<IO> Connect<IO>[src]pub fn into_failable(self) -> FailableConnect<IO>ⓘNotable traits for FailableConnect<IO>
impl<IO: AsyncRead + AsyncWrite + Unpin> Future for FailableConnect<IO> type Output = Result<TlsStream<IO>, (Error, IO)>;[src]
Notable traits for FailableConnect<IO>
impl<IO: AsyncRead + AsyncWrite + Unpin> Future for FailableConnect<IO> type Output = Result<TlsStream<IO>, (Error, IO)>;Trait Implementations
impl<IO: AsyncRead + AsyncWrite + Unpin> FusedFuture for Connect<IO>[src]
impl<IO: AsyncRead + AsyncWrite + Unpin> FusedFuture for Connect<IO>[src]fn is_terminated(&self) -> bool[src]
Auto Trait Implementations
impl<IO> !RefUnwindSafe for Connect<IO>
impl<IO> Send for Connect<IO> where
IO: Send,
IO: Send,
impl<IO> Sync for Connect<IO> where
IO: Sync,
IO: Sync,
impl<IO> Unpin for Connect<IO> where
IO: Unpin,
IO: Unpin,
impl<IO> !UnwindSafe for Connect<IO>
Blanket Implementations
impl<F> IntoFuture for F where
F: Future, [src]
impl<F> IntoFuture for F where
F: Future, [src]type Output = <F as Future>::Output
🔬 This is a nightly-only experimental API. (
into_future)The output that the future will produce on completion.
type Future = F
🔬 This is a nightly-only experimental API. (
into_future)Which kind of future are we turning this into?