Function viz::patch

source ·
pub fn patch<H, O>(handler: H) -> Route
where H: Handler<Request<Body>, Output = Result<O, Error>> + Clone, O: IntoResponse,
Expand description

Creates a route with a handler and HTTP PATCH verb pair.