pub enum IngressError {
QueueFull,
Stale,
TickRollback,
TickDisabled,
ShuttingDown,
UnsupportedCommand,
NotApplied,
UnknownEntity,
EntityCapacityFull,
}Expand description
Errors from the ingress (command submission) pipeline.
Used in Receipt::reason_code to explain
why a command was rejected.
Variants§
QueueFull
The command queue is at capacity (MURK_ERROR_QUEUE_FULL).
Stale
The command’s basis_tick_id is too old (MURK_ERROR_STALE).
TickRollback
The tick was rolled back; commands were dropped
(MURK_ERROR_TICK_ROLLBACK).
TickDisabled
Ticking is disabled after consecutive rollbacks
(MURK_ERROR_TICK_DISABLED).
ShuttingDown
The world is shutting down (MURK_ERROR_SHUTTING_DOWN).
UnsupportedCommand
The command type is not supported by the current tick executor
(MURK_ERROR_UNSUPPORTED_COMMAND).
NotApplied
The command was accepted but could not be applied (e.g. invalid
coordinate or unknown field) (MURK_ERROR_NOT_APPLIED).
UnknownEntity
The referenced entity does not exist, is dead, or has a stale generation.
EntityCapacityFull
Entity capacity is full.
Trait Implementations§
Source§impl Clone for IngressError
impl Clone for IngressError
Source§fn clone(&self) -> IngressError
fn clone(&self) -> IngressError
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for IngressError
impl Debug for IngressError
Source§impl Display for IngressError
impl Display for IngressError
Source§impl Error for IngressError
impl Error for IngressError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()