pub type NativeTlsHandshakeError = HandshakeError<TcpStream>;
Expand description
A HandshakeError
from native-tls
Aliased Type§
enum NativeTlsHandshakeError {
Failure(Error),
WouldBlock(MidHandshakeTlsStream<TcpStream>),
}
Variants§
Failure(Error)
A fatal error.
WouldBlock(MidHandshakeTlsStream<TcpStream>)
A stream interrupted midway through the handshake process due to a
WouldBlock
error.
Note that this is not a fatal error and it should be safe to call
handshake
at a later time once the stream is ready to perform I/O
again.