Function viz::any

source ·
pub fn any<H, O>(handler: H) -> Routewhere
    H: Handler<Request<Body>, Output = Result<O, Error>> + Clone,
    O: 'static + IntoResponse + Send + Sync,
Expand description

Creates a route with a handler and any HTTP verbs.