pub trait Cmd: ParserInfo {
// Provided methods
fn gen_help(&mut self) -> CliError { ... }
fn parse(&mut self) -> CliResult<()> { ... }
fn complete_args(&mut self, tokens: &[String]) -> CliResult<Vec<CompOut>> { ... }
fn parse_args(&mut self, tokens: &[String]) -> CliResult<()> { ... }
}Provided Methods§
fn gen_help(&mut self) -> CliError
fn parse(&mut self) -> CliResult<()>
fn complete_args(&mut self, tokens: &[String]) -> CliResult<Vec<CompOut>>
fn parse_args(&mut self, tokens: &[String]) -> CliResult<()>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".