Struct openssl::ssl::error::OpenSslError [] [src]

pub struct OpenSslError(_);

An error reported from OpenSSL.

Methods

impl OpenSslError

fn get_stack() -> Vec<OpenSslError>

Returns the contents of the OpenSSL error stack.

fn error_code(&self) -> c_ulong

Returns the raw OpenSSL error code for this error.

fn library(&self) -> &'static str

Returns the name of the library reporting the error.

fn function(&self) -> &'static str

Returns the name of the function reporting the error.

fn reason(&self) -> &'static str

Returns the reason for the error.

Trait Implementations

impl Debug for OpenSslError

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

impl Display for OpenSslError

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

impl Error for OpenSslError

fn description(&self) -> &str

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