Enum ozelot::ClientState [] [src]

pub enum ClientState {
    Handshake,
    Status,
    Login,
    Play,
}

This tracks which state of play the client is in. The value of this changes the meaning of the different packet ids.

Variants

Trait Implementations

impl Debug for ClientState
[src]

Formats the value using the given formatter.

impl Clone for ClientState
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for ClientState
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for ClientState
[src]

impl Display for ClientState
[src]

Formats the value using the given formatter. Read more