Trait tinychain::route::Handler [−][src]
pub trait Handler<'a>: Send {
fn get<'b>(self: Box<Self>) -> Option<GetHandler<'a, 'b>>
where
'b: 'a,
{ ... }
fn put<'b>(self: Box<Self>) -> Option<PutHandler<'a, 'b>>
where
'b: 'a,
{ ... }
fn post<'b>(self: Box<Self>) -> Option<PostHandler<'a, 'b>>
where
'b: 'a,
{ ... }
fn delete<'b>(self: Box<Self>) -> Option<DeleteHandler<'a, 'b>>
where
'b: 'a,
{ ... }
}