Struct openssl::ssl::Error [−][src]
pub struct Error { /* fields omitted */ }
An SSL error.
Methods
impl Error
[src]
impl Error
pub fn code(&self) -> ErrorCode
[src]
pub fn code(&self) -> ErrorCode
pub fn io_error(&self) -> Option<&Error>
[src]
pub fn io_error(&self) -> Option<&Error>
pub fn into_io_error(self) -> Result<Error, Error>
[src]
pub fn into_io_error(self) -> Result<Error, Error>
pub fn ssl_error(&self) -> Option<&ErrorStack>
[src]
pub fn ssl_error(&self) -> Option<&ErrorStack>
Trait Implementations
impl Debug for Error
[src]
impl Debug for Error
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 From<ErrorStack> for Error
[src]
impl From<ErrorStack> for Error
fn from(e: ErrorStack) -> Error
[src]
fn from(e: ErrorStack) -> Error
Performs the conversion.
impl Display for Error
[src]
impl Display for Error
fn fmt(&self, fmt: &mut Formatter) -> Result
[src]
fn fmt(&self, fmt: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Error for Error
[src]
impl Error for Error