Enum airmash_protocol::ErrorType[][src]

pub enum ErrorType {
    DisconnectedForPacketFlooding,
    BannedForPacketFlooding,
    Banned,
    IdleRequiredBeforeRespawn,
    AfkTimeout,
    Kicked,
    InvalidLogin,
    IncorrectProtocolLevel,
    AccountBanned,
    AccountAlreadyLoggedIn,
    NoRespawnInBTR,
    IdleRequiredBeforeSpectate,
    NotEnoughUpgrades,
    ChatThrottled,
    FlagChangeThrottled,
    UnknownCommand,
}

All error codes that can be sent to the client.

These are all server errors that the vanilla AIRMASH client (and the current STARMASH client) understands.

Variants

Trait Implementations

impl Copy for ErrorType
[src]

impl Clone for ErrorType
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for ErrorType
[src]

Formats the value using the given formatter. Read more

impl Hash for ErrorType
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Eq for ErrorType
[src]

impl PartialEq for ErrorType
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Component for ErrorType
[src]

Associated storage type for this component.

impl TryFrom<u8> for ErrorType
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

impl From<ErrorType> for u8
[src]

Performs the conversion.

impl TryFrom<u16> for ErrorType
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

impl From<ErrorType> for u16
[src]

Performs the conversion.

impl TryFrom<u32> for ErrorType
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

impl From<ErrorType> for u32
[src]

Performs the conversion.

impl TryFrom<i8> for ErrorType
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

impl From<ErrorType> for i8
[src]

Performs the conversion.

impl TryFrom<i16> for ErrorType
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

impl From<ErrorType> for i16
[src]

Performs the conversion.

impl TryFrom<i32> for ErrorType
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

impl From<ErrorType> for i32
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for ErrorType

impl Sync for ErrorType