Enum naia_shared::PacketType
source · pub enum PacketType {
Data,
Heartbeat,
ClientChallengeRequest,
ServerChallengeResponse,
ClientValidateRequest,
ServerValidateResponse,
ClientConnectRequest,
ServerConnectResponse,
ServerRejectResponse,
Ping,
Pong,
Disconnect,
}Variants§
Data
Heartbeat
ClientChallengeRequest
ServerChallengeResponse
ClientValidateRequest
ServerValidateResponse
ClientConnectRequest
ServerConnectResponse
ServerRejectResponse
Ping
Pong
Disconnect
Trait Implementations§
source§impl Clone for PacketType
impl Clone for PacketType
source§fn clone(&self) -> PacketType
fn clone(&self) -> PacketType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for PacketType
impl Debug for PacketType
source§impl PartialEq<PacketType> for PacketType
impl PartialEq<PacketType> for PacketType
source§fn eq(&self, other: &PacketType) -> bool
fn eq(&self, other: &PacketType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.