Enum openssl::ssl::error::OpensslError [−][src]
An error from the OpenSSL library
Variants
UnknownErrorAn 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 OpensslErrorpub fn from_error_code(err: c_ulong) -> OpensslError[src]
pub fn from_error_code(err: c_ulong) -> OpensslErrorTrait Implementations
impl Debug for OpensslError[src]
impl Debug for OpensslErrorfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Clone for OpensslError[src]
impl Clone for OpensslErrorfn clone(&self) -> OpensslError[src]
fn clone(&self) -> OpensslErrorReturns 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 OpensslErrorfn eq(&self, other: &OpensslError) -> bool[src]
fn eq(&self, other: &OpensslError) -> boolThis 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) -> boolThis method tests for !=.
impl Eq for OpensslError[src]
impl Eq for OpensslErrorAuto Trait Implementations
impl Send for OpensslError
impl Send for OpensslErrorimpl Sync for OpensslError
impl Sync for OpensslError