pub trait ActionCommand: Command<Output = ()> {
// Provided method
fn run(&self, input: Self::Input) -> Result<()> { ... }
}
Expand description
Trait for commands that don’t return data but perform actions (print output)
Provided Methods§
Implementors§
impl<T> ActionCommand for T
Auto-implement ActionCommand for commands that output ()