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

fn from_error_code(err: c_ulong) -> OpensslError

Trait Implementations

Derived Implementations

impl Eq for OpensslError

impl PartialEq for OpensslError

fn eq(&self, __arg_0: &OpensslError) -> bool

fn ne(&self, __arg_0: &OpensslError) -> bool

impl Clone for OpensslError

fn clone(&self) -> OpensslError

1.0.0fn clone_from(&mut self, source: &Self)

impl Debug for OpensslError

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