Struct airmash_protocol::client::Backup[][src]

pub struct Backup {
    pub token: String,
}

Opening packet for opening a second server connection for the same client.

This packet is used to allow for multiple websocket connections to the airmash server. To open a second connection, open a websocket connection to the server, then send this packet as the first packet instead of sending Login. The server will respond to client packets sent through this channel, allowing for some reduction in head of line blocking.

Fields

Trait Implementations

impl Clone for Backup
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Backup
[src]

Formats the value using the given formatter. Read more

impl From<Backup> for ClientPacket
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for Backup

impl Sync for Backup