Trait Servant
servant
pub trait Servant { fn name(&self) -> &str; fn category(&self) -> &'static str; fn serve(&mut self, ctx: Option<Context>, req: Vec<u8>) -> Vec<u8>; }
fn name(&self) -> &str
fn category(&self) -> &'static str
fn serve(&mut self, ctx: Option<Context>, req: Vec<u8>) -> Vec<u8>