Enum tcp_stream::HandshakeError
source · [−]pub enum HandshakeError {
WouldBlock(MidHandshakeTlsStream),
Failure(Error),
}
Expand description
An error returned while performing the handshake
Variants
WouldBlock(MidHandshakeTlsStream)
We hit WouldBlock during handshake
Failure(Error)
We hit a critical failure
Implementations
Try and get the inner mid handshake TLS stream from this error
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.