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.
pub trait Command {
// Required method
fn execute(self) -> Result<()>;
}Trait for executable commands. Each command is self-contained and directly uses the abstractions it needs.