[−][src]Enum naia_shared::PacketType
An enum representing the different types of packets that can be sent/received
Variants
A packet containing Event/Entity data
A packet sent to maintain the connection by preventing a timeout
An initial handshake message sent by the Client to the Server
The Server's response to the Client's initial handshake message
The final handshake message sent by the Client
The final handshake message sent by the Server, indicating that the connection has been established
A Ping message, used to calculate RTT. Must be responded to with a Pong message
A Pong message, used to calculate RTT. Must be the response to all Ping messages
An unknown packet type
Trait Implementations
impl Clone for PacketType
[src]
fn clone(&self) -> PacketType
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for PacketType
[src]
impl Debug for PacketType
[src]
impl From<u8> for PacketType
[src]
impl PartialEq<PacketType> for PacketType
[src]
impl StructuralPartialEq for PacketType
[src]
Auto Trait Implementations
impl RefUnwindSafe for PacketType
impl Send for PacketType
impl Sync for PacketType
impl Unpin for PacketType
impl UnwindSafe for PacketType
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,