[−][src]Trait iron::middleware::Handler
Handler
s are responsible for handling requests by creating Responses from Requests.
Required methods
fn handle(&self, _: &mut Request) -> IronResult<Response>
Produce a Response
from a Request, with the possibility of error.
Implementations on Foreign Types
impl Handler for Box<dyn Handler>
[src]
fn handle(&self, req: &mut Request) -> IronResult<Response>
[src]
Implementors
impl Handler for Chain
[src]
fn handle(&self, req: &mut Request) -> IronResult<Response>
[src]
impl<F> Handler for F where
F: Send + Sync + 'static + Fn(&mut Request) -> IronResult<Response>,
[src]
F: Send + Sync + 'static + Fn(&mut Request) -> IronResult<Response>,