pub enum PacketState {
Handshake,
Status,
Login,
Play,
}
Variants§
Trait Implementations§
Source§impl Clone for PacketState
impl Clone for PacketState
Source§fn clone(&self) -> PacketState
fn clone(&self) -> PacketState
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PacketState
impl Debug for PacketState
Source§impl Display for PacketState
impl Display for PacketState
Source§impl Hash for PacketState
impl Hash for PacketState
Source§impl PartialEq for PacketState
impl PartialEq for PacketState
impl Copy for PacketState
impl Eq for PacketState
impl StructuralPartialEq for PacketState
Auto Trait Implementations§
impl Freeze for PacketState
impl RefUnwindSafe for PacketState
impl Send for PacketState
impl Sync for PacketState
impl Unpin for PacketState
impl UnwindSafe for PacketState
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more