fn method_is<F>(func: F) -> impl Filter<Extract = (), Error = Rejection> + Copywhere F: Fn() -> &'static Method + Copy,