Skip to main content

Command

Trait Command 

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

Trait for executable commands. Each command is self-contained and directly uses the abstractions it needs.

Required Methods§

Source

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

Execute the command

Implementors§