Skip to main content

next_equals

Function next_equals 

Source
pub fn next_equals<A, P, T, E>(
    path: A,
) -> impl FnOnce(Ap<Hydrated, P, T, E>) -> Ap<Hydrated, P, T, E>
where P: PlatformTypes, E: Debug, A: AsRef<str> + 'static,
Expand description

Reject the request if the next path segment does not equal path