#[non_exhaustive]pub enum ClientCommand {
SendChat(OutboundChat),
}Expand description
Typed work submitted by the host while a character is connected. An action requested by an application after zone admission.
Future movement, zoning, inventory, group, and character actions belong here so application code never needs to carry raw opcodes or packet bytes.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
SendChat(OutboundChat)
Send one chat message.
Trait Implementations§
Source§impl Clone for GameCommand
impl Clone for GameCommand
Source§fn clone(&self) -> GameCommand
fn clone(&self) -> GameCommand
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GameCommand
impl Debug for GameCommand
impl Eq for GameCommand
Source§impl PartialEq for GameCommand
impl PartialEq for GameCommand
impl StructuralPartialEq for GameCommand
Auto Trait Implementations§
impl Forget for GameCommand
impl Freeze for GameCommand
impl RefUnwindSafe for GameCommand
impl Send for GameCommand
impl Sync for GameCommand
impl Unpin for GameCommand
impl UnsafeUnpin for GameCommand
impl UnwindSafe for GameCommand
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