wrap_rustls

Function wrap_rustls 

Source
pub async fn wrap_rustls<'a>(
    hostname: &str,
    port: u16,
    alpn: &str,
    stream: impl SessionStream + 'a,
    tls_session_store: &TlsSessionStore,
) -> Result<impl SessionStream + 'a>