pub trait CliCommand<A: Args> {
// Required methods
fn get_command(&self, command: Command) -> Command;
fn get_executor(self) -> Box<ExecutorFunc>;
}Required Methods§
fn get_command(&self, command: Command) -> Command
fn get_executor(self) -> Box<ExecutorFunc>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".