Trait ArgsInfo

Source
pub trait ArgsInfo {
    // Required method
    fn get_args_info() -> CommandInfoWithArgs;

    // Provided method
    fn get_subcommands() -> Vec<SubCommandInfo> { ... }
}
Expand description

Structured information about the command line arguments.

Required Methods§

Source

fn get_args_info() -> CommandInfoWithArgs

Returns the argument info.

Provided Methods§

Source

fn get_subcommands() -> Vec<SubCommandInfo>

Returns the list of subcommands

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§

impl ArgsInfo for SubCommand

impl ArgsInfo for ListCommand

impl ArgsInfo for ShowCommand

impl ArgsInfo for BalloonCommands

impl ArgsInfo for SubCommands

impl ArgsInfo for MemCommands

impl ArgsInfo for SocatCommands

impl ArgsInfo for AttachArgs

impl ArgsInfo for BalloonArgs

impl ArgsInfo for BalloonSet

impl ArgsInfo for BalloonStats

impl ArgsInfo for LaunchArgs

impl ArgsInfo for ListArgs

impl ArgsInfo for MemArgs

impl ArgsInfo for RequestPluggedMem

impl ArgsInfo for StatsMem

impl ArgsInfo for SocatArgs

impl ArgsInfo for SocatConnect

impl ArgsInfo for SocatListen

impl ArgsInfo for StopArgs

impl ArgsInfo for GuestOptions

impl ArgsInfo for VshArgs

impl ArgsInfo for VsockPerfArgs

impl ArgsInfo for WipeArgs

impl ArgsInfo for ListAccessorsCommand

impl ArgsInfo for ListCommand

impl ArgsInfo for SelectorsCommand

impl ArgsInfo for ShowCommand

impl ArgsInfo for LogSubCommand

impl ArgsInfo for DumpCommand

impl ArgsInfo for LogCommand

impl ArgsInfo for SetSeverityCommand

impl ArgsInfo for WatchCommand

impl ArgsInfo for CommandEnum

impl ArgsInfo for Command