Enum ntex_amqp::server::ServerError [−][src]
pub enum ServerError<E> {
Service(E),
Handshake(HandshakeError),
Codec(AmqpCodecError),
Protocol(AmqpProtocolError),
ControlServiceError,
PublishServiceError,
Disconnected,
}
Expand description
Errors which can occur when attempting to handle amqp connection.
Variants
Message handler service error
Handshake(HandshakeError)
Amqp handshake error
Tuple Fields of Handshake
Codec(AmqpCodecError)
Amqp codec error
Tuple Fields of Codec
Protocol(AmqpProtocolError)
Amqp protocol error
Tuple Fields of Protocol
Control service init error
Publish service init error
Peer disconnect
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl<E> !RefUnwindSafe for ServerError<E>
impl<E> Send for ServerError<E> where
E: Send,
impl<E> !Sync for ServerError<E>
impl<E> Unpin for ServerError<E> where
E: Unpin,
impl<E> !UnwindSafe for ServerError<E>
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