[][src]Trait actix_web::server::HttpHandler

pub trait HttpHandler: 'static {
    type Task: HttpHandlerTask;
    fn handle(&self, req: Request) -> Result<Self::Task, Request>;
}

Low level http request handler

Associated Types

Request handling task

Required Methods

Handle request

Implementations on Foreign Types

impl HttpHandler for Box<HttpHandler<Task = Box<HttpHandlerTask>>>
[src]

impl<A: HttpHandler> HttpHandler for (A,)
[src]

impl<A: HttpHandler, B: HttpHandler> HttpHandler for (A, B)
[src]

impl<A: HttpHandler, B: HttpHandler, C: HttpHandler> HttpHandler for (A, B, C)
[src]

impl<A: HttpHandler, B: HttpHandler, C: HttpHandler, D: HttpHandler> HttpHandler for (A, B, C, D)
[src]

impl<A: HttpHandler, B: HttpHandler, C: HttpHandler, D: HttpHandler, E: HttpHandler> HttpHandler for (A, B, C, D, E)
[src]

impl<A: HttpHandler, B: HttpHandler, C: HttpHandler, D: HttpHandler, E: HttpHandler, F: HttpHandler> HttpHandler for (A, B, C, D, E, F)
[src]

impl<A: HttpHandler, B: HttpHandler, C: HttpHandler, D: HttpHandler, E: HttpHandler, F: HttpHandler, G: HttpHandler> HttpHandler for (A, B, C, D, E, F, G)
[src]

impl<A: HttpHandler, B: HttpHandler, C: HttpHandler, D: HttpHandler, E: HttpHandler, F: HttpHandler, G: HttpHandler, H: HttpHandler> HttpHandler for (A, B, C, D, E, F, G, H)
[src]

impl<A: HttpHandler, B: HttpHandler, C: HttpHandler, D: HttpHandler, E: HttpHandler, F: HttpHandler, G: HttpHandler, H: HttpHandler, I: HttpHandler> HttpHandler for (A, B, C, D, E, F, G, H, I)
[src]

impl<A: HttpHandler, B: HttpHandler, C: HttpHandler, D: HttpHandler, E: HttpHandler, F: HttpHandler, G: HttpHandler, H: HttpHandler, I: HttpHandler, J: HttpHandler> HttpHandler for (A, B, C, D, E, F, G, H, I, J)
[src]

Implementors