Enum netcode::ClientEvent [] [src]

pub enum ClientEvent {
    NewState(State),
    SentKeepAlive,
    Packet(usize),
}

Describes event the server receives when calling next_event(..).

Variants

Client state has changed to State.

Channel is idle and client has sent keep alive packet.

Client received packet of usize length, packet data is stored in payload.

Trait Implementations

impl Clone for ClientEvent
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for ClientEvent
[src]

Formats the value using the given formatter.