Struct airmash_protocol::server::Ping[][src]

pub struct Ping {
    pub clock: u32,
    pub num: u32,
}

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

Trait Implementations

impl Copy for Ping
[src]

impl Clone for Ping
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Ping
[src]

Formats the value using the given formatter. Read more

impl From<Ping> for ServerPacket
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for Ping

impl Sync for Ping