Function warp::filters::path::filter_segment

source ยท
fn filter_segment<F, U>(
    func: F,
) -> impl Filter<Extract = U, Error = Rejection> + Copy
where F: Fn(&str) -> Result<U, Rejection> + Copy, U: Tuple + Send + 'static,