pub enum PacketType {
Failure = 0,
Ping = 1,
Connect = 2,
Forward = 3,
Disconnect = 4,
CreateServer = 5,
Authorize = 6,
UpdateRights = 7,
}
Variants§
Failure = 0
Ping = 1
Connect = 2
Forward = 3
Disconnect = 4
CreateServer = 5
Authorize = 6
UpdateRights = 7
Trait Implementations§
Source§impl Clone for PacketType
impl Clone for PacketType
Source§impl Debug for PacketType
impl Debug for PacketType
Source§impl Ord for PacketType
impl Ord for PacketType
Source§impl PartialEq for PacketType
impl PartialEq for PacketType
Source§impl PartialOrd for PacketType
impl PartialOrd for PacketType
Source§impl TryFrom<u8> for PacketType
impl TryFrom<u8> for PacketType
impl Copy for PacketType
impl Eq for PacketType
Auto Trait Implementations§
impl Freeze for PacketType
impl RefUnwindSafe for PacketType
impl Send for PacketType
impl Sync for PacketType
impl Unpin for PacketType
impl UnwindSafe for PacketType
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