[][src]Module gotham::router::non_match

Defines the types used to indicate a non-matching route, and associated metadata.

Structs

RouteNonMatch

The error type used for a non-matching route, as returned by RouteMatcher::is_match. Multiple values of this type can be combined by matchers that are wrapping other matchers, using the intersection / union methods. The data within is used by the Router to create a Response when no routes were successfully matched.