Enum openssl::ssl::HandshakeError [−][src]
pub enum HandshakeError<S> {
SetupFailure(ErrorStack),
Failure(MidHandshakeSslStream<S>),
WouldBlock(MidHandshakeSslStream<S>),
}Expand description
An error or intermediate state after a TLS handshake attempt.
Variants
SetupFailure(ErrorStack)
Tuple Fields
0: ErrorStackSetup failed.
Failure(MidHandshakeSslStream<S>)
Tuple Fields
0: MidHandshakeSslStream<S>The handshake failed.
WouldBlock(MidHandshakeSslStream<S>)
Tuple Fields
0: MidHandshakeSslStream<S>The handshake encountered a WouldBlock error midway through.
This error will never be returned for blocking streams.
Trait Implementations
Performs the conversion.
