pub trait TestCommand {
// Required method
fn execute(&self) -> TestCommandResult;
}
Expand description
Generic command trait to allow different command types
pub trait TestCommand {
// Required method
fn execute(&self) -> TestCommandResult;
}
Generic command trait to allow different command types