pub type OpensslHandshakeError = HandshakeError<TcpStream>;Expand description
A HandshakeError from openssl
Aliased Type§
pub enum OpensslHandshakeError {
SetupFailure(ErrorStack),
Failure(MidHandshakeSslStream<TcpStream>),
WouldBlock(MidHandshakeSslStream<TcpStream>),
}Variants§
SetupFailure(ErrorStack)
Setup failed.
Failure(MidHandshakeSslStream<TcpStream>)
The handshake failed.
WouldBlock(MidHandshakeSslStream<TcpStream>)
The handshake encountered a WouldBlock error midway through.
This error will never be returned for blocking streams.