pub trait ToCommand {
// Required method
fn to_command(&self) -> Vec<String>;
// Provided method
fn to_single_command(&self) -> String { ... }
}
pub trait ToCommand {
// Required method
fn to_command(&self) -> Vec<String>;
// Provided method
fn to_single_command(&self) -> String { ... }
}