pub trait ExecutableCommand {
    // Required method
    fn execute(&mut self, command: impl Command) -> Result<&mut Self>;
}
Expand description

An interface for types that can directly execute commands.

Required Methods§

source

fn execute(&mut self, command: impl Command) -> Result<&mut Self>

Executes the given command directly.

Implementors§