Trait Command

Source
pub trait Command: Send {
    // Required method
    fn run(&self, input: &str) -> Result<String, Box<dyn Error + Send>>;
}

Required Methods§

Source

fn run(&self, input: &str) -> Result<String, Box<dyn Error + Send>>

Implementors§