Struct tls_api::Error [−][src]
pub struct Error(_);
Methods
impl Error
[src]
impl Error
An error returned from the TLS implementation.
pub fn new<E: Error + 'static + Send + Sync>(e: E) -> Error
[src]
pub fn new<E: Error + 'static + Send + Sync>(e: E) -> Error
pub fn new_other(message: &str) -> Error
[src]
pub fn new_other(message: &str) -> Error
pub fn into_inner(self) -> Box<Error + Send + Sync>
[src]
pub fn into_inner(self) -> Box<Error + Send + Sync>
Trait Implementations
impl Error for Error
[src]
impl Error for Error
fn description(&self) -> &str
[src]
fn description(&self) -> &str
This method is soft-deprecated. Read more
fn cause(&self) -> Option<&Error>
[src]
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more
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 Display for Error
[src]
impl Display 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<Error> for Error
[src]
impl From<Error> for Error
impl From<Error> for Error
[src]
impl From<Error> for Error