pub enum ServerCommand {
Connected,
Message,
Receipt,
Error,
}
Variants§
Trait Implementations§
Source§impl Clone for ServerCommand
impl Clone for ServerCommand
Source§fn clone(&self) -> ServerCommand
fn clone(&self) -> ServerCommand
Returns a duplicate 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 From<ServerCommand> for &str
impl From<ServerCommand> for &str
Source§fn from(value: ServerCommand) -> Self
fn from(value: ServerCommand) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ServerCommand
impl PartialEq for ServerCommand
Source§impl TryFrom<&str> for ServerCommand
impl TryFrom<&str> for ServerCommand
impl Command for ServerCommand
impl Copy for ServerCommand
impl StructuralPartialEq for ServerCommand
Auto Trait Implementations§
impl Freeze for ServerCommand
impl RefUnwindSafe for ServerCommand
impl Send for ServerCommand
impl Sync for ServerCommand
impl Unpin for ServerCommand
impl UnwindSafe for ServerCommand
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