Enum openssl::ssl::error::OpensslError
[−]
[src]
pub enum OpensslError { UnknownError { library: String, function: String, reason: String, }, }
An error from the OpenSSL library
Variants
UnknownError
An unknown error
Fields
library: String | The library reporting the error |
function: String | The function reporting the error |
reason: String | The reason for the error |
Methods
impl OpensslError
[src]
fn from_error_code(err: c_ulong) -> OpensslError
Trait Implementations
impl Eq for OpensslError
[src]
impl PartialEq for OpensslError
[src]
fn eq(&self, __arg_0: &OpensslError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &OpensslError) -> bool
This method tests for !=
.
impl Clone for OpensslError
[src]
fn clone(&self) -> OpensslError
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