Enum ntex_amqp::client::ConnectError [−][src]
pub enum ConnectError {
Codec(AmqpCodecError),
HandshakeTimeout,
ProtocolNegotiation(ProtocolIdError),
ExpectOpenFrame(Box<AmqpFrame>),
Sasl(SaslCode),
Disconnected,
Connect(ConnectError),
Io(Error),
}
Expand description
Errors which can occur when attempting to handle amqp client connection.
Variants
Codec(AmqpCodecError)
Amqp codec error
Tuple Fields of Codec
Handshake timeout
ProtocolNegotiation(ProtocolIdError)
Protocol negotiation error
Tuple Fields of ProtocolNegotiation
Expected open frame
Sasl(SaslCode)
Peer disconnected
Tuple Fields of Sasl
0: SaslCode
Connect(ConnectError)
Connect error
Tuple Fields of Connect
0: ConnectError
Io(Error)
Unexpected io error
Tuple Fields of Io
0: Error
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for ConnectError
impl Send for ConnectError
impl !Sync for ConnectError
impl Unpin for ConnectError
impl !UnwindSafe for ConnectError
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more