Enum airmash_protocol::ServerMessageType[][src]

pub enum ServerMessageType {
    TimeToGameStart,
    Flag,
    Shutdown,
    Banner,
}

Type specifier for server banner messages.

TODO: Reverse engineer

Variants

TODO: Verify the value of this one

New Type, used by this server for shutdown message (once they work)

New Type, used by this server for banner messages on player join.

Trait Implementations

impl Copy for ServerMessageType
[src]

impl Clone for ServerMessageType
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for ServerMessageType
[src]

Formats the value using the given formatter. Read more

impl Hash for ServerMessageType
[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 ServerMessageType
[src]

impl PartialEq for ServerMessageType
[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 ServerMessageType
[src]

Associated storage type for this component.

impl TryFrom<u8> for ServerMessageType
[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<ServerMessageType> for u8
[src]

Performs the conversion.

impl TryFrom<u16> for ServerMessageType
[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<ServerMessageType> for u16
[src]

Performs the conversion.

impl TryFrom<u32> for ServerMessageType
[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<ServerMessageType> for u32
[src]

Performs the conversion.

impl TryFrom<i8> for ServerMessageType
[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<ServerMessageType> for i8
[src]

Performs the conversion.

impl TryFrom<i16> for ServerMessageType
[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<ServerMessageType> for i16
[src]

Performs the conversion.

impl TryFrom<i32> for ServerMessageType
[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<ServerMessageType> for i32
[src]

Performs the conversion.

Auto Trait Implementations