Skip to main content

Execute

Trait Execute 

Source
pub trait Execute {
    // Required method
    async fn execute(&self) -> Result<()>;
}
Expand description

Common trait for all subcommands

Required Methods§

Source

async fn execute(&self) -> Result<()>

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§