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.

This error will never be returned for blocking streams.

Trait Implementations

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

[src]

Formats the value using the given formatter.

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

[src]

A short description of the error. Read more

[src]

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

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

[src]

Formats the value using the given formatter. Read more

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

[src]

Performs the conversion.