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

The library reporting the error

function

The function reporting the error

reason

The reason for the error

Methods

impl OpensslError
[src]

fn from_error_code(err: c_ulong) -> OpensslError

Trait Implementations

Derived 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

impl Debug for OpensslError
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.