Trait gotham::router::builder::ExtendRouteMatcher
source · pub trait ExtendRouteMatcher<NRM>where
NRM: RouteMatcher + Send + Sync + 'static,{
type Output: DefineSingleRoute;
}Expand description
Describes the operation of extending a RouteMatcher on a route. This trait exists to remove
type clutter from the documentation of SingleRouteBuilder::add_route_matcher.
Required Associated Types§
sourcetype Output: DefineSingleRoute
type Output: DefineSingleRoute
The type returned when extending the existing RouteMatcher with the target type.