pub enum VcsCmd {
Connect,
Info,
Up,
Down,
Update,
Mute,
Unmute,
Set,
}
Expand description
Enum of all possible commands
Variants§
Trait Implementations§
Source§impl CommandSet for VcsCmd
impl CommandSet for VcsCmd
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
Source§fn help_simple(&self) -> String
fn help_simple(&self) -> String
Help string for this variant (build from Display, arguments and flags by
default)
impl StructuralPartialEq for VcsCmd
Auto Trait Implementations§
impl Freeze for VcsCmd
impl RefUnwindSafe for VcsCmd
impl Send for VcsCmd
impl Sync for VcsCmd
impl Unpin for VcsCmd
impl UnwindSafe for VcsCmd
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