Trait SubCommand

Source
pub trait SubCommand: FromArgs {
    const COMMAND: &'static CommandInfo;
}
Expand description

A FromArgs implementation that represents a single subcommand.

Required Associated Constants§

Source

const COMMAND: &'static CommandInfo

Information about the subcommand.

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 SubCommand for ListCommand

impl SubCommand for ShowCommand

impl SubCommand for CommandLine

impl SubCommand for AttachArgs

impl SubCommand for BalloonArgs

impl SubCommand for BalloonSet

impl SubCommand for BalloonStats

impl SubCommand for LaunchArgs

impl SubCommand for ListArgs

impl SubCommand for MemArgs

impl SubCommand for RequestPluggedMem

impl SubCommand for StatsMem

impl SubCommand for SocatArgs

impl SubCommand for SocatConnect

impl SubCommand for SocatListen

impl SubCommand for StopArgs

impl SubCommand for VshArgs

impl SubCommand for VsockPerfArgs

impl SubCommand for WipeArgs

impl SubCommand for BusesCommand

impl SubCommand for ReadBarCommand

impl SubCommand for CommandLine

impl SubCommand for Args