[−][src]Trait actix_web::dev::Handler
Trait defines object that could be registered as route handler
Associated Types
Loading content...Required methods
fn handle(&self, req: &HttpRequest<S>) -> Self::Result
Handle request
Implementors
impl<F, R, S> Handler<S> for F where
F: Fn(&HttpRequest<S>) -> R + 'static,
R: Responder + 'static,
[src]
F: Fn(&HttpRequest<S>) -> R + 'static,
R: Responder + 'static,
Handler for Fn()