Skip to main content

patch

Function patch 

Source
pub fn patch<F, R, B>(path: impl ToString, f: F) -> HttpRoute
where F: AsyncFn(Request) -> R + Send + Sync + 'static, R: IntoResponse<B>, B: Body,