pub enum CommandName {
OnSettingsDidChange,
SendMessage,
ChangeSettings,
}
Expand description
All the available Command names for both Client (ClientCommand
) and Middleware (MiddlewareCommand
).
Variants§
OnSettingsDidChange
Middleware Command (from WebSocket to Arduino Serial Plotter UI)
SendMessage
ChangeSettings
Trait Implementations§
Source§impl Clone for CommandName
impl Clone for CommandName
Source§fn clone(&self) -> CommandName
fn clone(&self) -> CommandName
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 CommandName
impl Debug for CommandName
Source§impl<'de> Deserialize<'de> for CommandName
impl<'de> Deserialize<'de> for CommandName
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for CommandName
impl Display for CommandName
Source§impl FromStr for CommandName
impl FromStr for CommandName
Auto Trait Implementations§
impl Freeze for CommandName
impl RefUnwindSafe for CommandName
impl Send for CommandName
impl Sync for CommandName
impl Unpin for CommandName
impl UnwindSafe for CommandName
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