Enum rusty_sword_arena::game::GameControlMsg[][src]

pub enum GameControlMsg {
    Join {
        name: String,
    },
    Leave {
        id: u8,
    },
    Fetch,
}

Various game control actions. Join a game, leave a game, just fetch updated game settings.

Variants

Fields of Join

Fields of Leave

Trait Implementations

impl Clone for GameControlMsg
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for GameControlMsg
[src]

Formats the value using the given formatter. Read more

impl PartialEq for GameControlMsg
[src]

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

This method tests for !=.

Auto Trait Implementations