Enum openssl::ssl::error::OpensslError [−][src]
An error from the OpenSSL library
Variants
UnknownError
An unknown error
Fields of UnknownError
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]
impl OpensslError
pub fn from_error_code(err: c_ulong) -> OpensslError
[src]
pub fn from_error_code(err: c_ulong) -> OpensslError
Trait Implementations
impl Debug for OpensslError
[src]
impl Debug for OpensslError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for OpensslError
[src]
impl Clone for OpensslError
fn clone(&self) -> OpensslError
[src]
fn clone(&self) -> OpensslError
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for OpensslError
[src]
impl PartialEq for OpensslError
fn eq(&self, other: &OpensslError) -> bool
[src]
fn eq(&self, other: &OpensslError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &OpensslError) -> bool
[src]
fn ne(&self, other: &OpensslError) -> bool
This method tests for !=
.
impl Eq for OpensslError
[src]
impl Eq for OpensslError
Auto Trait Implementations
impl Send for OpensslError
impl Send for OpensslError
impl Sync for OpensslError
impl Sync for OpensslError