pub trait CommandExecutor {
// Required method
fn execute(&mut self) -> Result<(String, String)>;
}
Expand description
Interface for executing a command
Required Methods§
Implementations on Foreign Types§
Source§impl CommandExecutor for Command
Implement the CommandExecutor
trait for Command
impl CommandExecutor for Command
Implement the CommandExecutor
trait for Command