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

pub enum SslError {
    StreamError(Error),
    SslSessionClosed,
    OpenSslErrors(Vec<OpensslError>),
}

An SSL error

Variants

The underlying stream reported an error

The SSL session has been closed by the other end

An error in the OpenSSL library

Methods

impl SslError
[src]

Creates a new OpenSslErrors with the current contents of the error stack.

Creates an SslError from the raw numeric error code.

Trait Implementations

impl Debug for SslError
[src]

Formats the value using the given formatter. Read more

impl Display for SslError
[src]

Formats the value using the given formatter. Read more

impl Error for SslError
[src]

This method is soft-deprecated. Read more

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

impl From<SslError> for NonblockingSslError
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for SslError

impl Sync for SslError