Struct tls_api::Error [−][src]
pub struct Error(_);
Methods
impl Error[src]
impl ErrorAn 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) -> Errorpub fn new_other(message: &str) -> Error[src]
pub fn new_other(message: &str) -> Errorpub 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 Errorfn description(&self) -> &str[src]
fn description(&self) -> &strThis 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 Errorfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Display for Error[src]
impl Display for Errorfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl From<Error> for Error[src]
impl From<Error> for Errorimpl From<Error> for Error[src]
impl From<Error> for Error