Enum tcp_stream::MidHandshakeTlsStream [−][src]
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)
Tuple Fields
0: TcpStream
Not a TLS stream
NativeTls(NativeTlsMidHandshakeTlsStream)
Tuple Fields
A native-tls MidHandshakeTlsStream
Openssl(OpenSslMidHandshakeTlsStream)
Tuple Fields
An openssl MidHandshakeTlsStream
Rustls(RustlsMidHandshakeTlsStream)
Tuple Fields
A rustls-connector MidHandshakeTlsStream
Implementations
Get a reference to the inner stream
Get a mutable reference to the inner stream
Retry the handshake
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.