Enum eolib::protocol::net::PacketAction
source · pub enum PacketAction {
Show 40 variants
Request,
Accept,
Reply,
Remove,
Agree,
Create,
Add,
Player,
Take,
Use,
Buy,
Sell,
Open,
Close,
Msg,
Spec,
Admin,
List,
Tell,
Report,
Announce,
Server,
Drop,
Junk,
Obtain,
Get,
Kick,
Rank,
TargetSelf,
TargetOther,
TargetGroup,
Dialog,
Ping,
Pong,
Net242,
Net243,
Net244,
Error,
Init,
Unrecognized(u8),
}Expand description
The specific action that a packet performs. Part of the unique packet ID.
Variants§
Request
Accept
Reply
Remove
Agree
Create
Add
Player
Take
Use
Buy
Sell
Open
Close
Msg
Spec
Admin
List
Tell
Report
Announce
Server
Drop
Junk
Obtain
Get
Kick
Rank
TargetSelf
TargetOther
TargetGroup
Dialog
Ping
Pong
Net242
Net243
Net244
Error
Init
Unrecognized(u8)
Trait Implementations§
source§impl Clone for PacketAction
impl Clone for PacketAction
source§fn clone(&self) -> PacketAction
fn clone(&self) -> PacketAction
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 PacketAction
impl Debug for PacketAction
source§impl Default for PacketAction
impl Default for PacketAction
source§impl From<PacketAction> for u8
impl From<PacketAction> for u8
source§fn from(value: PacketAction) -> u8
fn from(value: PacketAction) -> u8
Converts to this type from the input type.
source§impl From<u8> for PacketAction
impl From<u8> for PacketAction
source§impl PartialEq for PacketAction
impl PartialEq for PacketAction
source§fn eq(&self, other: &PacketAction) -> bool
fn eq(&self, other: &PacketAction) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for PacketAction
impl Eq for PacketAction
impl StructuralEq for PacketAction
impl StructuralPartialEq for PacketAction
Auto Trait Implementations§
impl RefUnwindSafe for PacketAction
impl Send for PacketAction
impl Sync for PacketAction
impl Unpin for PacketAction
impl UnwindSafe for PacketAction
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