pub enum IngressError {
QueueFull,
Stale,
TickRollback,
TickDisabled,
ShuttingDown,
}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).
Trait Implementations§
Source§impl Clone for IngressError
impl Clone for IngressError
Source§fn clone(&self) -> IngressError
fn clone(&self) -> IngressError
Returns a duplicate of the value. Read more
1.0.0 · 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 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)>
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()
Source§impl PartialEq for IngressError
impl PartialEq for IngressError
impl Copy for IngressError
impl Eq for IngressError
impl StructuralPartialEq for IngressError
Auto Trait Implementations§
impl Freeze for IngressError
impl RefUnwindSafe for IngressError
impl Send for IngressError
impl Sync for IngressError
impl Unpin for IngressError
impl UnwindSafe for IngressError
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