Enum openssl::ssl::HandshakeError [] [src]

pub enum HandshakeError<S> {
    SetupFailure(ErrorStack),
    Failure(MidHandshakeSslStream<S>),
    Interrupted(MidHandshakeSslStream<S>),
}

An error or intermediate state after a TLS handshake attempt.

Variants

Setup failed.

The handshake failed.

The handshake was interrupted midway through.

Trait Implementations

impl<S: Debug> Debug for HandshakeError<S>
[src]

Formats the value using the given formatter.

impl<S: Any + Debug> StdError for HandshakeError<S>
[src]

A short description of the error. Read more

The lower-level cause of this error, if any. Read more

impl<S: Any + Debug> Display for HandshakeError<S>
[src]

Formats the value using the given formatter.

impl<S> From<ErrorStack> for HandshakeError<S>
[src]

Performs the conversion.