pub fn patch() -> impl Filter<Extract = (), Error = Rejection> + Copy
Create a Filter that requires the request method to be PATCH.
Filter
PATCH
use warp::Filter; let patch_only = warp::patch().map(warp::reply);