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

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

An error or intermediate state after a TLS handshake attempt.

Variants

Setup failed.

The handshake failed.

The handshake encountered a WouldBlock error midway through.

This error will never be returned for blocking streams.

Trait Implementations

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

Formats the value using the given formatter. Read more

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

This method is soft-deprecated. Read more

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

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

Formats the value using the given formatter. Read more

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

Performs the conversion.

Auto Trait Implementations

impl<S> Send for HandshakeError<S> where
    S: Send

impl<S> Sync for HandshakeError<S> where
    S: Sync