pub enum AssistantCmd {
Info,
Connect,
Disconnect,
SendBroadcastCode,
AddBroadcastSource,
UpdatePaSync,
RemoveBroadcastSource,
RemoteScanStarted,
RemoteScanStopped,
ForceDiscoverBroadcastSource,
ForceDiscoverSourceMetadata,
ForceDiscoverEmptySourceMetadata,
}
Expand description
Enum of all possible commands
Variants§
Info
Connect
Disconnect
SendBroadcastCode
AddBroadcastSource
UpdatePaSync
RemoveBroadcastSource
RemoteScanStarted
RemoteScanStopped
ForceDiscoverBroadcastSource
ForceDiscoverSourceMetadata
ForceDiscoverEmptySourceMetadata
Trait Implementations§
Source§impl CommandSet for AssistantCmd
impl CommandSet for AssistantCmd
Source§fn variants() -> Vec<String>
fn variants() -> Vec<String>
Returns a vector of strings that are the commands supported by this.
Source§fn arguments(&self) -> &'static str
fn arguments(&self) -> &'static str
Returns a string listing the arguments that this command takes, in <>
brackets
Source§fn flags(&self) -> &'static str
fn flags(&self) -> &'static str
Returns a string displaying the flags that this command supports, in []
brackets
§fn help_simple(&self) -> String
fn help_simple(&self) -> String
Help string for this variant (build from Display, arguments and flags by
default)
Source§impl Debug for AssistantCmd
impl Debug for AssistantCmd
Source§impl Display for AssistantCmd
impl Display for AssistantCmd
Source§impl FromStr for AssistantCmd
impl FromStr for AssistantCmd
Source§impl PartialEq for AssistantCmd
impl PartialEq for AssistantCmd
impl StructuralPartialEq for AssistantCmd
Auto Trait Implementations§
impl Freeze for AssistantCmd
impl RefUnwindSafe for AssistantCmd
impl Send for AssistantCmd
impl Sync for AssistantCmd
impl Unpin for AssistantCmd
impl UnwindSafe for AssistantCmd
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