pub enum ExecCommand {
    Run {
        args: Vec<String>,
    },
    Runat {
        at: String,
        args: Vec<String>,
    },
    Start {
        service: String,
    },
    Up {
        group: String,
    },
}Variants§
Run
Execute shell command
Runat
Execute shell command with cron schedule
Start
Start service
Up
Start service group
Trait Implementations§
source§impl Debug for ExecCommand
 
impl Debug for ExecCommand
source§impl<'de> Deserialize<'de> for ExecCommand
 
impl<'de> Deserialize<'de> for ExecCommand
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<ExecCommand> for Message
 
impl From<ExecCommand> for Message
source§fn from(cmd: ExecCommand) -> Self
 
fn from(cmd: ExecCommand) -> Self
Converts to this type from the input type.
source§impl FromArgMatches for ExecCommand
 
impl FromArgMatches for ExecCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
 
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
    __clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
 
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
source§fn update_from_arg_matches(
    &mut self,
    __clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
 
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
Assign values from 
ArgMatches to self.source§fn update_from_arg_matches_mut<'b>(
    &mut self,
    __clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
 
fn update_from_arg_matches_mut<'b>( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from 
ArgMatches to self.source§impl Serialize for ExecCommand
 
impl Serialize for ExecCommand
source§impl Subcommand for ExecCommand
 
impl Subcommand for ExecCommand
source§fn augment_subcommands<'b>(__clap_app: Command) -> Command
 
fn augment_subcommands<'b>(__clap_app: Command) -> Command
source§fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
 
fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
Append to 
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moresource§fn has_subcommand(__clap_name: &str) -> bool
 
fn has_subcommand(__clap_name: &str) -> bool
Test whether 
Self can parse a specific subcommandAuto Trait Implementations§
impl Freeze for ExecCommand
impl RefUnwindSafe for ExecCommand
impl Send for ExecCommand
impl Sync for ExecCommand
impl Unpin for ExecCommand
impl UnwindSafe for ExecCommand
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