Skip to main content

CliCommand

Trait CliCommand 

Source
pub trait CliCommand<A: Args> {
    // Required methods
    fn get_command(&self, command: Command) -> Command;
    fn get_executor(self) -> Box<ExecutorFunc>;
}

Required Methods§

Source

fn get_command(&self, command: Command) -> Command

Source

fn get_executor(self) -> Box<ExecutorFunc>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§