Trait stemjail::cmd::KageCommand [] [src]

pub trait KageCommand {
    fn get_name<'a>(&'a self) -> &'a String;
    fn get_usage(&self) -> String;
    fn call(&mut self, args: &Vec<String>) -> Result<(), String>;
}

Required Methods

fn get_name<'a>(&'a self) -> &'a String

fn get_usage(&self) -> String

fn call(&mut self, args: &Vec<String>) -> Result<(), String>

Implementors