Enum hematite_server::packet::NextState [] [src]

pub enum NextState {
    Status,
    Login,
}

Variants

Status
Login

Trait Implementations

impl Protocol for NextState

Encodes the NextState based on the values in the Handshake packet.

Only intended for encoding Status and Login states.

type Clean = Self

fn proto_len(_: &Self) -> usize

fn proto_encode(value: &Self, dst: &mut Write) -> Result<()>

fn proto_decode(src: &mut Read) -> Result<Self>

Derived Implementations

impl Debug for NextState

fn fmt(&self, __arg_0: &mut Formatter) -> Result