pub trait TlsUpgrade: Sync + Send {
    fn upgrade_to_tls(
        &self,
        stream: Box<dyn Io + 'static, Global>,
        name: String
    ) -> Pin<Box<dyn Future<Output = Result<Box<dyn Io + 'static, Global>, Error>> + Sync + Send + 'static, Global>>
Notable traits for Pin<P>
impl<P> Future for Pin<P> where
    P: DerefMut,
    <P as Deref>::Target: Future
type Output = <<P as Deref>::Target as Future>::Output;
; }

Required methods

Implementors