pub trait IntoRouteMatcher {
type Output: RouteMatcher;
fn into_route_matcher(self) -> Self::Output;
}
Expand description
Allow various types to represent themselves as a RouteMatcher
Required Associated Types
sourcetype Output: RouteMatcher
type Output: RouteMatcher
The concrete RouteMatcher each implementation will provide.
Required Methods
sourcefn into_route_matcher(self) -> Self::Output
fn into_route_matcher(self) -> Self::Output
Transform into a RouteMatcher
of the the associated type identified by Output
.