Struct tls_api::Error
[−]
[src]
pub struct Error(_);
Methods
impl Error
[src]
An error returned from the TLS implementation.
pub fn new<E: Error + 'static + Send + Sync>(e: E) -> Error
[src]
pub fn new_other(message: &str) -> Error
[src]
pub fn into_inner(self) -> Box<Error + Send + Sync>
[src]
Trait Implementations
impl Error for Error
[src]
fn description(&self) -> &str
[src]
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
[src]
The lower-level cause of this error, if any. Read more
impl Debug for Error
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Display for Error
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more