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

pub enum Error {
    ZeroReturn,
    WantRead(Error),
    WantWrite(Error),
    WantX509Lookup,
    Stream(Error),
    Ssl(Vec<OpenSslError>),
}

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

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

impl Error for Error

fn description(&self) -> &str

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

Derived Implementations

impl Debug for Error

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