pub trait QueryCommand: Command<Output = String> {
// Provided method
fn query(&self, input: Self::Input) -> Result<String> { ... }
}
Expand description
Trait for commands that return formatted output
Provided Methods§
Implementors§
impl<T> QueryCommand for T
Auto-implement QueryCommand for commands that output String