pub enum GatewayCommandPipelineError {
Decode(BinaryDecodeError),
NonCommandFrame,
Gateway(GatewayError),
MissingQueue(StationId),
Queue(CommandQueueError),
Deployment(DeploymentError),
Encode(BinaryEncodeError),
}Expand description
Gateway command pipeline error.
Variants§
Decode(BinaryDecodeError)
Wire decode failed.
NonCommandFrame
Frame decoded correctly but was not a command frame.
Gateway(GatewayError)
Gateway/session metadata rejected the command.
MissingQueue(StationId)
Gateway route pointed at a missing station queue.
Queue(CommandQueueError)
Target station queue rejected the command.
Deployment(DeploymentError)
Deployment route metadata rejected command delivery.
Encode(BinaryEncodeError)
ACK encode failed.
Trait Implementations§
Source§impl Clone for GatewayCommandPipelineError
impl Clone for GatewayCommandPipelineError
Source§fn clone(&self) -> GatewayCommandPipelineError
fn clone(&self) -> GatewayCommandPipelineError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GatewayCommandPipelineError
impl Debug for GatewayCommandPipelineError
impl Eq for GatewayCommandPipelineError
Source§impl Error for GatewayCommandPipelineError
impl Error for GatewayCommandPipelineError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
impl StructuralPartialEq for GatewayCommandPipelineError
Auto Trait Implementations§
impl Freeze for GatewayCommandPipelineError
impl RefUnwindSafe for GatewayCommandPipelineError
impl Send for GatewayCommandPipelineError
impl Sync for GatewayCommandPipelineError
impl Unpin for GatewayCommandPipelineError
impl UnsafeUnpin for GatewayCommandPipelineError
impl UnwindSafe for GatewayCommandPipelineError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more