pub enum HandshakeError<S> {
Failure(Error),
Interrupted(MidHandshakeSslStream<S>),
}
Expand description
An error or intermediate state after a TLS handshake attempt.
Variants
Failure(Error)
The handshake failed.
Interrupted(MidHandshakeSslStream<S>)
The handshake was interrupted midway through.