[][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

type Task: HttpHandlerTask

Request handling task

Loading content...

Required methods

fn handle(&self, req: Request) -> Result<Self::Task, Request>

Handle request

Loading content...

Implementations on Foreign Types

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

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

type Task = HttpHandlerTask1<A>

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

type Task = HttpHandlerTask2<A, B>

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

type Task = HttpHandlerTask3<A, B, C>

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

type Task = HttpHandlerTask4<A, B, C, D>

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

type Task = HttpHandlerTask5<A, B, C, D, E>

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

type Task = HttpHandlerTask6<A, B, C, D, E, F>

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]

type Task = HttpHandlerTask7<A, B, C, D, E, F, G>

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]

type Task = HttpHandlerTask8<A, B, C, D, E, F, G, H>

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]

type Task = HttpHandlerTask9<A, B, C, D, E, F, G, H, I>

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]

type Task = HttpHandlerTask10<A, B, C, D, E, F, G, H, I, J>

Loading content...

Implementors

Loading content...