Enum lapin_futures_tls_api::error::ErrorKind
source · pub enum ErrorKind {
UriParsingError(String),
InvalidDomainName(String),
ConnectionFailed(Error),
ProtocolError(Error),
// some variants omitted
}Expand description
The different kinds of errors that can be reported.
Even though we expose the complete enumeration of possible error variants, it is not considered stable to exhaustively match on this enumeration: do it at your own risk.
Variants§
UriParsingError(String)
Failure to parse an Uri
InvalidDomainName(String)
Failure to resolve a domain name
ConnectionFailed(Error)
Failure to connect
ProtocolError(Error)
Error from lapin_futures
Trait Implementations§
source§impl Fail for ErrorKind
impl Fail for ErrorKind
source§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
source§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