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

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

An error or intermediate state after a TLS handshake attempt.

Variants

Failure

The handshake failed.

Interrupted

The handshake was interrupted midway through.

Trait Implementations

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

fn description(&self) -> &str

A short description of the error. Read more

fn cause(&self) -> Option<&Error>

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

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

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.

Derived Implementations

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

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.