pub enum MidHandshakeTlsStream {
Plain(TcpStream),
NativeTls(NativeTlsMidHandshakeTlsStream),
Openssl(OpenSslMidHandshakeTlsStream),
Rustls(RustlsMidHandshakeTlsStream),
}Expand description
A TLS stream which has been interrupted during the handshake
Variants§
Plain(TcpStream)
Not a TLS stream
NativeTls(NativeTlsMidHandshakeTlsStream)
A native-tls MidHandshakeTlsStream
Openssl(OpenSslMidHandshakeTlsStream)
An openssl MidHandshakeTlsStream
Rustls(RustlsMidHandshakeTlsStream)
A rustls-connector MidHandshakeTlsStream
Implementations§
Trait Implementations§
source§impl Debug for MidHandshakeTlsStream
impl Debug for MidHandshakeTlsStream
source§impl Display for MidHandshakeTlsStream
impl Display for MidHandshakeTlsStream
source§impl From<MidHandshakeSslStream<TcpStream>> for MidHandshakeTlsStream
impl From<MidHandshakeSslStream<TcpStream>> for MidHandshakeTlsStream
source§fn from(mid: OpenSslMidHandshakeTlsStream) -> Self
fn from(mid: OpenSslMidHandshakeTlsStream) -> Self
Converts to this type from the input type.
source§impl From<MidHandshakeTlsStream<TcpStream>> for MidHandshakeTlsStream
impl From<MidHandshakeTlsStream<TcpStream>> for MidHandshakeTlsStream
source§fn from(mid: NativeTlsMidHandshakeTlsStream) -> Self
fn from(mid: NativeTlsMidHandshakeTlsStream) -> Self
Converts to this type from the input type.
source§impl From<MidHandshakeTlsStream<TcpStream>> for MidHandshakeTlsStream
impl From<MidHandshakeTlsStream<TcpStream>> for MidHandshakeTlsStream
source§fn from(mid: RustlsMidHandshakeTlsStream) -> Self
fn from(mid: RustlsMidHandshakeTlsStream) -> Self
Converts to this type from the input type.