pub struct Error {
pub error: ErrorType,
}Expand description
The client has carried out an invalid action, been ratelimited, or is banned.
Fields§
§error: ErrorTypeTrait Implementations§
Source§impl<'de> DeserializeV5<'de> for Error
impl<'de> DeserializeV5<'de> for Error
fn deserialize(de: &mut AirmashDeserializerV5<'de>) -> Result<Self>
Source§impl From<Error> for ServerPacket
impl From<Error> for ServerPacket
Source§impl SerializeV5 for Error
impl SerializeV5 for Error
fn serialize<'ser>(&self, ser: &mut AirmashSerializerV5<'ser>) -> Result
impl Copy for Error
Auto Trait Implementations§
impl Freeze for Error
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnwindSafe for Error
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