Enum openssl::ssl::Error [] [src]

pub enum Error {
    ZeroReturn,
    WantRead(Error),
    WantWrite(Error),
    WantX509Lookup,
    Stream(Error),
    Ssl(ErrorStack),
}

An SSL error.

Variants

The SSL session has been closed by the other end

An attempt to read data from the underlying socket returned WouldBlock. Wait for read readiness and reattempt the operation.

An attempt to write data from the underlying socket returned WouldBlock. Wait for write readiness and reattempt the operation.

The client certificate callback requested to be called again.

An error reported by the underlying stream.

An error in the OpenSSL library.

Trait Implementations

impl Debug for Error
[src]

[src]

Formats the value using the given formatter.

impl Display for Error
[src]

[src]

Formats the value using the given formatter. Read more

impl Error for Error
[src]

[src]

A short description of the error. Read more

[src]

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

impl From<ErrorStack> for Error
[src]

[src]

Performs the conversion.