Trait chiisai::Route [−][src]
pub trait Route { type Method; fn handler(&self, _: Request) -> Box<Future<Item = Response, Error = Error>>; fn method(&self) -> Self::Method; }
pub trait Route { type Method; fn handler(&self, _: Request) -> Box<Future<Item = Response, Error = Error>>; fn method(&self) -> Self::Method; }
type Method
fn handler(&self, _: Request) -> Box<Future<Item = Response, Error = Error>>
fn method(&self) -> Self::Method