Function method_pattern

Source
pub fn method_pattern<I, E, F>(
    f: F,
) -> impl FnMut(I) -> IResult<I, HttpMethodPattern, E>
where I: InputLength + InputTake + Compare<&'static str> + Clone, F: Parser<I, HttpMethod, E>, E: ContextError<I> + ParseError<I>,