pub type RustlsHandshakeError = HandshakeError<TcpStream>;
Expand description
A HandshakeError
from rustls-connector
Aliased Type§
pub enum RustlsHandshakeError {
WouldBlock(MidHandshakeTlsStream<TcpStream>),
Failure(Error),
}
Variants§
WouldBlock(MidHandshakeTlsStream<TcpStream>)
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)
We hit a critical failure.