pub fn tls_stream_from_existing_tls_stream(
stream: TokioTlsStream<TokioTcpStream>,
peer_addr: SocketAddr
) -> (TlsStream, BufStreamHandle)
Expand description
Initializes a TlsStream with an existing tokio_tls::TlsStream.
This is intended for use with a TlsListener and Incoming connections