pub trait CommandTrait {
// Required methods
fn command() -> Command;
fn handle<'async_trait, A>(
arg_matches: ArgMatches,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where A: 'async_trait + ApplicationTrait;
}Required Methods§
fn command() -> Command
fn handle<'async_trait, A>(
arg_matches: ArgMatches,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
A: 'async_trait + ApplicationTrait,
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.