Trait unrest::Handler [] [src]

pub trait Handler {
    fn handle(
        &self,
        _: Request,
        _: Params,
        _: Container
    ) -> Box<Future<Item = Response, Error = Error>>;
fn path(&self) -> &'static str;
fn method(&self) -> Method; }

Required Methods

Implementors