Struct openssl::error::Error
[−]
[src]
pub struct Error(_);
An error reported from OpenSSL.
Methods
impl Error
[src]
fn get() -> Option<Error>
[−]
Returns the first error on the OpenSSL error stack.
fn code(&self) -> c_ulong
[−]
Returns the raw OpenSSL error code for this error.
fn library(&self) -> Option<&'static str>
[−]
Returns the name of the library reporting the error, if available.
fn function(&self) -> Option<&'static str>
[−]
Returns the name of the function reporting the error.
fn reason(&self) -> Option<&'static str>
[−]
Returns the reason for the error.
Trait Implementations
impl Clone for Error
[src]
fn clone(&self) -> Error
[−]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[−]
Performs copy-assignment from source
. Read more