Enum pocket_relay_core::blaze::components::Components
source · pub enum Components {
Authentication(Authentication),
GameManager(GameManager),
Redirector(Redirector),
Stats(Stats),
Util(Util),
Messaging(Messaging),
AssociationLists(AssociationLists),
GameReporting(GameReporting),
UserSessions(UserSessions),
Unknown(u16, u16),
}Variants§
Authentication(Authentication)
GameManager(GameManager)
Redirector(Redirector)
Stats(Stats)
Util(Util)
Messaging(Messaging)
AssociationLists(AssociationLists)
GameReporting(GameReporting)
UserSessions(UserSessions)
Unknown(u16, u16)
Trait Implementations§
source§impl Debug for Components
impl Debug for Components
source§impl PacketComponents for Components
impl PacketComponents for Components
source§fn values(&self) -> (u16, u16)
fn values(&self) -> (u16, u16)
Converts the packet component into the ID of the
component, and command Read more
source§fn from_values(component: u16, command: u16, notify: bool) -> Self
fn from_values(component: u16, command: u16, notify: bool) -> Self
Decodes the packet component using the provided component id,
command id, and whether the packet is a notify packet Read more
source§fn from_header(header: &PacketHeader) -> Self
fn from_header(header: &PacketHeader) -> Self
Decodes the packet component using the details stored in the provided
packet header Read more
source§impl PartialEq<Components> for Components
impl PartialEq<Components> for Components
source§fn eq(&self, other: &Components) -> bool
fn eq(&self, other: &Components) -> bool
impl Eq for Components
impl StructuralEq for Components
impl StructuralPartialEq for Components
Auto Trait Implementations§
impl RefUnwindSafe for Components
impl Send for Components
impl Sync for Components
impl Unpin for Components
impl UnwindSafe for Components
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.