pub enum MoveCharacterError {
Status498,
Status499,
Status490,
Status404,
Status486,
}Expand description
struct for typed errors of method move_character
Variants§
Status498
Character not found.
Status499
The character is in cooldown.
Status490
The character is already at the destination.
Status404
Map not found.
Status486
An action is already in progress for this character.
Trait Implementations§
Source§impl Clone for MoveCharacterError
impl Clone for MoveCharacterError
Source§fn clone(&self) -> MoveCharacterError
fn clone(&self) -> MoveCharacterError
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 MoveCharacterError
impl Debug for MoveCharacterError
Source§impl<'de> Deserialize<'de> for MoveCharacterError
impl<'de> Deserialize<'de> for MoveCharacterError
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for MoveCharacterError
impl Serialize for MoveCharacterError
Source§impl TryFrom<StatusCode> for MoveCharacterError
impl TryFrom<StatusCode> for MoveCharacterError
Auto Trait Implementations§
impl Freeze for MoveCharacterError
impl RefUnwindSafe for MoveCharacterError
impl Send for MoveCharacterError
impl Sync for MoveCharacterError
impl Unpin for MoveCharacterError
impl UnwindSafe for MoveCharacterError
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