[][src]Trait httprouter::router::Handle

pub trait Handle {
    fn handle(
        &self,
        req: Request<impl HttpBody>,
        params: Params
    ) -> BoxFuture<'static, Result<Response<Body>, Box<dyn Error + Sync + Send>>>; }

Required methods

fn handle(
    &self,
    req: Request<impl HttpBody>,
    params: Params
) -> BoxFuture<'static, Result<Response<Body>, Box<dyn Error + Sync + Send>>>

Loading content...

Implementors

Loading content...