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,
Reject the request if the next path segment does not equal path
path