pub(crate) fn filter_fn_one<F, U>( func: F, ) -> impl Filter<Extract = (U::Ok,), Error = U::Error> + Copywhere F: Fn(&mut Route) -> U + Copy, U: TryFuture + Send + 'static, U::Ok: Send, U::Error: IsReject,