Trait gotham::router::builder::ExtendRouteMatcher[][src]

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.

Associated Types

The type returned when extending the existing RouteMatcher with the target type.

Implementors