Skip to main content

Run

Trait Run 

Source
pub trait Run {
    // Required method
    fn run(self) -> Result<(), Error>;
}
Expand description

Represent an application or a subcommand.

Required Methods§

Source

fn run(self) -> Result<(), Error>

Run the application or subcommand.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§