Function viz::any

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

Appends a route, with handler by any HTTP verbs.