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
Handshake
Status
Login
Play
Trait Implementations
impl Debug for ClientState
[src]
impl Clone for ClientState
[src]
fn clone(&self) -> ClientState
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq for ClientState
[src]
fn eq(&self, __arg_0: &ClientState) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.