shah

Trait Command

Source
pub trait Command {
    // Required methods
    fn parse(args: Args) -> Self;
    fn help() -> String;
}

Required Methods§

Source

fn parse(args: Args) -> Self

Source

fn help() -> String

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§