Function toad::server::path::check::rest_equals

source ·
pub fn rest_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 rest of the path does not equal path