patch

Function patch 

Source
pub fn patch<H, T, B, E>(handler: H) -> MethodRouter<B, E>
where for<'a> H: Handler<T, B, E> + Clone + Send + Sync + 'a, T: 'static, B: Send + 'static, E: IntoResponse + 'static,
Available on crate feature server only.
Expand description

Route patch requests to the given handler.