Enum atc::libs::command::ServerCommand
source · pub enum ServerCommand {
Message(Option<String>, String),
Terminate,
}
Variants§
Trait Implementations§
source§impl Clone for ServerCommand
impl Clone for ServerCommand
source§fn clone(&self) -> ServerCommand
fn clone(&self) -> ServerCommand
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 ServerCommand
impl Debug for ServerCommand
source§impl PartialEq<ServerCommand> for ServerCommand
impl PartialEq<ServerCommand> for ServerCommand
source§fn eq(&self, other: &ServerCommand) -> bool
fn eq(&self, other: &ServerCommand) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.