Enum rustls_connector::HandshakeError [−][src]
pub enum HandshakeError<S: Read + Send + Sync + Write + 'static> {
WouldBlock(MidHandshakeTlsStream<S>),
Failure(Error),
}
Expand description
An error returned while performing the handshake
Variants
WouldBlock(MidHandshakeTlsStream<S>)
Tuple Fields
0: MidHandshakeTlsStream<S>
We hit WouldBlock during handshake. Note that this is not a critical failure, you should be able to call handshake again once the stream is ready to perform I/O.
Failure(Error)
Tuple Fields
0: Error
We hit a critical failure.