Function product_os_router::patch_service

source ยท
pub fn patch_service<T, S>(
    svc: T,
) -> MethodRouter<S, <T as Service<Request<Body>>>::Error>
where T: Service<Request<Body>> + Clone + Send + 'static, <T as Service<Request<Body>>>::Response: IntoResponse + 'static, <T as Service<Request<Body>>>::Future: Send + 'static, S: Clone,
Expand description

Route PATCH requests to the given service.

See get_service for an example.