Enum naia_shared::ManagerType
source · [−]#[repr(u8)]
pub enum ManagerType {
Message,
Entity,
Command,
Unknown,
}Expand description
Every data packet transmitted has data specific to either the Message, Entity, Command managers. This value is written to differentiate those parts of the payload.
Variants
Message
A MessageManager
Entity
A EntityManager
Command
A CommandManager
Unknown
Unknown Manager
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ManagerType
impl Send for ManagerType
impl Sync for ManagerType
impl Unpin for ManagerType
impl UnwindSafe for ManagerType
Blanket Implementations
Mutably borrows from an owned value. Read more