Enum openssl::ssl::error::NonblockingSslError [] [src]

pub enum NonblockingSslError {
    SslError(SslError),
    WantRead,
    WantWrite,
}

An error on a nonblocking stream.

Variants

SslError(SslError)

A standard SSL error occurred.

WantRead

The OpenSSL library wants data from the remote socket; the caller should wait for read readiness.

WantWrite

The OpenSSL library wants to send data to the remote socket; the caller should wait for write readiness.

Trait Implementations

impl Debug for NonblockingSslError
[src]

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

Formats the value using the given formatter.

impl Display for NonblockingSslError
[src]

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

Formats the value using the given formatter.

impl Error for NonblockingSslError
[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. Read more

impl From<SslError> for NonblockingSslError
[src]

fn from(e: SslError) -> NonblockingSslError

Performs the conversion.