Function warp::filter::filter_fn_one

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