pub enum ClientCommand {
SendMessage(String),
ChangeSettings(MonitorSettings),
}
Expand description
Client Commands from Arduino Serial Plotter UI to WebSocket)
Variants§
SendMessage(String)
ChangeSettings(MonitorSettings)
Trait Implementations§
Source§impl Clone for ClientCommand
impl Clone for ClientCommand
Source§fn clone(&self) -> ClientCommand
fn clone(&self) -> ClientCommand
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 ClientCommand
impl Debug for ClientCommand
Source§impl<'de> Deserialize<'de> for ClientCommand
impl<'de> Deserialize<'de> for ClientCommand
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 From<ClientCommand> for Command<Value>
impl From<ClientCommand> for Command<Value>
Source§fn from(value: ClientCommand) -> Self
fn from(value: ClientCommand) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ClientCommand
impl RefUnwindSafe for ClientCommand
impl Send for ClientCommand
impl Sync for ClientCommand
impl Unpin for ClientCommand
impl UnwindSafe for ClientCommand
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