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.

impl Display for SslError
[src]

Formats the value using the given formatter.

impl Error for SslError
[src]

A short description of the error. Read more

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