Enum ntex_amqp::server::HandshakeError [−][src]
pub enum HandshakeError {
Codec(AmqpCodecError),
Timeout,
ProtocolNegotiation(ProtocolIdError),
ExpectOpenFrame(AmqpFrame),
Unexpected(Frame),
UnexpectedSaslFrame(Box<SaslFrame>),
UnexpectedSaslBodyFrame(Box<SaslFrameBody>),
UnsupportedSaslMechanism(String),
Sasl(SaslCode),
Disconnected,
Io(Error),
}
Expand description
Errors which can occur when attempting to handle amqp handshake.
Variants
Codec(AmqpCodecError)
Amqp codec error
Tuple Fields of Codec
Handshake timeout
ProtocolNegotiation(ProtocolIdError)
Protocol negotiation error
Tuple Fields of ProtocolNegotiation
ExpectOpenFrame(AmqpFrame)
Expected open frame
Tuple Fields of ExpectOpenFrame
0: AmqpFrame
Unexpected(Frame)
Tuple Fields of Unexpected
0: Frame
UnexpectedSaslBodyFrame(Box<SaslFrameBody>)
Tuple Fields of UnexpectedSaslBodyFrame
0: Box<SaslFrameBody>
UnsupportedSaslMechanism(String)
Tuple Fields of UnsupportedSaslMechanism
0: String
Sasl(SaslCode)
Sasl error code
Tuple Fields of Sasl
0: SaslCode
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.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for HandshakeError
impl Send for HandshakeError
impl !Sync for HandshakeError
impl Unpin for HandshakeError
impl !UnwindSafe for HandshakeError
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