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