RapidCommand

Trait RapidCommand 

Source
pub trait RapidCommand {
    // Required methods
    fn cmd() -> Command;
    fn execute(_: &Config, _: &ArgMatches) -> Result<(), CliError<'static>>;
}

Required Methods§

Source

fn cmd() -> Command

Source

fn execute(_: &Config, _: &ArgMatches) -> Result<(), CliError<'static>>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§