Trait actix_web::server::HttpHandler [−][src]
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
Required Methods
Implementations on Foreign Types
impl HttpHandler for Box<HttpHandler<Task = Box<HttpHandlerTask>>>[src]
impl HttpHandler for Box<HttpHandler<Task = Box<HttpHandlerTask>>>type Task = Box<HttpHandlerTask>
fn handle(&self, req: Request) -> Result<Box<HttpHandlerTask>, Request>[src]
fn handle(&self, req: Request) -> Result<Box<HttpHandlerTask>, Request>