pub trait Handler: Sized + Clone + Send + 'static {
    fn run(self) -> Result<()> { ... }
    fn execute(&mut self, ctx: Context) -> Result<()> { ... }
    fn handle_command(&mut self, _: &mut Context) -> Result<()> { ... }
    fn handle_subcommand(&mut self, _: Context) -> Result<()> { ... }
}

Provided Methods

Implementors