pub enum CommandRejectReason {
InvalidSchema,
RateLimited,
ReplayOrStale,
NotOwner,
GameRule,
}Expand description
Generic command reject reasons.
Variants§
InvalidSchema
Command failed schema or size validation.
RateLimited
Command was submitted too frequently.
ReplayOrStale
Command was stale or replayed.
NotOwner
Command targeted an entity not owned by this station.
GameRule
Game-specific validator rejected the command.
Trait Implementations§
Source§impl Clone for CommandRejectReason
impl Clone for CommandRejectReason
Source§fn clone(&self) -> CommandRejectReason
fn clone(&self) -> CommandRejectReason
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 moreimpl Copy for CommandRejectReason
Source§impl Debug for CommandRejectReason
impl Debug for CommandRejectReason
impl Eq for CommandRejectReason
Source§impl PartialEq for CommandRejectReason
impl PartialEq for CommandRejectReason
impl StructuralPartialEq for CommandRejectReason
Auto Trait Implementations§
impl Freeze for CommandRejectReason
impl RefUnwindSafe for CommandRejectReason
impl Send for CommandRejectReason
impl Sync for CommandRejectReason
impl Unpin for CommandRejectReason
impl UnsafeUnpin for CommandRejectReason
impl UnwindSafe for CommandRejectReason
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