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
token: String
Trait Implementations
impl Clone for Backup[src]
impl Clone for Backupfn clone(&self) -> Backup[src]
fn clone(&self) -> BackupReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Debug for Backup[src]
impl Debug for Backupfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl From<Backup> for ClientPacket[src]
impl From<Backup> for ClientPacket