pub enum PacketCategory {
Null = 0,
Hello = 1,
Password = 2,
Connect = 3,
}Variants§
Trait Implementations§
Source§impl Clone for PacketCategory
impl Clone for PacketCategory
Source§fn clone(&self) -> PacketCategory
fn clone(&self) -> PacketCategory
Returns a duplicate 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 PacketCategory
impl Debug for PacketCategory
Source§impl Decode for PacketCategory
impl Decode for PacketCategory
Source§impl Encode for PacketCategory
impl Encode for PacketCategory
Source§impl PartialEq for PacketCategory
impl PartialEq for PacketCategory
Source§impl PartialOrd for PacketCategory
impl PartialOrd for PacketCategory
impl StructuralPartialEq for PacketCategory
Auto Trait Implementations§
impl Freeze for PacketCategory
impl RefUnwindSafe for PacketCategory
impl Send for PacketCategory
impl Sync for PacketCategory
impl Unpin for PacketCategory
impl UnwindSafe for PacketCategory
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