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

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

An SSL error

Variants

StreamError

The underlying stream reported an error

SslSessionClosed

The SSL session has been closed by the other end

OpenSslErrors

An error in the OpenSSL library

Methods

impl SslError

fn get() -> SslError

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

fn from_error(err: c_ulong) -> SslError

Creates an SslError from the raw numeric error code.

Trait Implementations

impl Error for SslError

fn description(&self) -> &str

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

fn detail(&self) -> Option<String>

Derived Implementations

impl Eq for SslError

fn assert_receiver_is_total_eq(&self)

impl PartialEq for SslError

fn eq(&self, __arg_0: &SslError) -> bool

fn ne(&self, __arg_0: &SslError) -> bool

impl Clone for SslError

fn clone(&self) -> SslError

fn clone_from(&mut self, source: &Self)

impl Show for SslError

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