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

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

An SSL error.

Variants

ZeroReturn

The SSL session has been closed by the other end

WantRead

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

WantWrite

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

WantX509Lookup

The client certificate callback requested to be called again.

Stream

An error reported by the underlying stream.

Ssl

An error in the OpenSSL library.

Trait Implementations

impl Display for Error
[src]

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

Formats the value using the given formatter.

impl Error for Error
[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 From<ErrorStack> for Error
[src]

fn from(e: ErrorStack) -> Error

Performs the conversion.

Derived Implementations

impl Debug for Error
[src]

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

Formats the value using the given formatter.