Struct airmash_protocol::server::Ping [−][src]
A ping request by the server.
All clients must respond with a
Pong
with num set to the same value
as this packet. If a client does
not do this, the client will be
disconnected by the server.
Fields
clock: u32
num: u32
Trait Implementations
impl Copy for Ping[src]
impl Copy for Pingimpl Clone for Ping[src]
impl Clone for Pingfn clone(&self) -> Ping[src]
fn clone(&self) -> PingReturns 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 Ping[src]
impl Debug for Pingfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl From<Ping> for ServerPacket[src]
impl From<Ping> for ServerPacket