Struct lapin_futures_tls_api::lapin::error::Error
pub struct Error { /* private fields */ }Expand description
The type of error that can be returned in this crate.
Instead of implementing the Error trait provided by the standard library,
it implemented the Fail trait provided by the failure crate. Doing so
means that this type guaranteed to be both sendable and usable across
threads, and that you’ll be able to use the downcasting feature of the
failure::Error type.
Implementations§
Trait Implementations§
§impl Fail for Error
impl Fail for Error
§fn cause(&self) -> Option<&(dyn Fail + 'static)>
fn cause(&self) -> Option<&(dyn Fail + 'static)>
Returns a reference to the underlying cause of this failure, if it
is an error that wraps other errors. Read more
§fn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
Returns a reference to the
Backtrace carried by this failure, if it
carries one. Read more