Struct openssl::ssl::error::OpenSslError [−][src]
pub struct OpenSslError(_);
An error reported from OpenSSL.
Methods
impl OpenSslError
[src]
impl OpenSslError
pub fn get_stack() -> Vec<OpenSslError>
[src]
pub fn get_stack() -> Vec<OpenSslError>
Returns the contents of the OpenSSL error stack.
pub fn error_code(&self) -> c_ulong
[src]
pub fn error_code(&self) -> c_ulong
Returns the raw OpenSSL error code for this error.
pub fn library(&self) -> &'static str
[src]
pub fn library(&self) -> &'static str
Returns the name of the library reporting the error.
pub fn function(&self) -> &'static str
[src]
pub fn function(&self) -> &'static str
Returns the name of the function reporting the error.
pub fn reason(&self) -> &'static str
[src]
pub fn reason(&self) -> &'static str
Returns the reason for the error.
Trait Implementations
impl Debug for OpenSslError
[src]
impl Debug for OpenSslError
fn fmt(&self, fmt: &mut Formatter) -> Result
[src]
fn fmt(&self, fmt: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Display for OpenSslError
[src]
impl Display for OpenSslError
fn fmt(&self, fmt: &mut Formatter) -> Result
[src]
fn fmt(&self, fmt: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Error for OpenSslError
[src]
impl Error for OpenSslError
Auto Trait Implementations
impl Send for OpenSslError
impl Send for OpenSslError
impl Sync for OpenSslError
impl Sync for OpenSslError