patch

Function patch 

Source
pub fn patch<H, Args>(path: &str, handler: H) -> RouteBuilder<'_>
where H: Handler<Args> + Send + Sync + 'static, Args: FromRequest + Send + 'static, Args::Future: Future + Send + 'static, H::Future: Future + Send + 'static, H::Output: Responder<Body = BoxBody> + 'static, Error: From<Args::Error>,
Expand description

Create a new RouteBuilder for the given method and add a handler