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
Setup failed.
Tuple Fields of SetupFailure
0: ErrorStack
The handshake failed.
Tuple Fields of Failure
0: MidHandshakeSslStream<S>
The handshake encountered a WouldBlock
error midway through.
This error will never be returned for blocking streams.
Tuple Fields of WouldBlock
0: MidHandshakeSslStream<S>
Trait Implementations
Performs the conversion.