Enum tcp_stream::HandshakeError [−][src]
pub enum HandshakeError {
WouldBlock(MidHandshakeTlsStream),
Failure(Error),
}
Expand description
An error returned while performing the handshake
Variants
WouldBlock(MidHandshakeTlsStream)
We hit WouldBlock during handshake
Tuple Fields of WouldBlock
Failure(Error)
We hit a critical failure
Tuple Fields of Failure
0: Error
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.