[][src]Trait gotham::router::route::matcher::IntoRouteMatcher

pub trait IntoRouteMatcher {
    type Output: RouteMatcher;
    fn into_route_matcher(self) -> Self::Output;

Allow various types to represent themselves as a RouteMatcher

Associated Types

type Output: RouteMatcher

The concrete RouteMatcher each implementation will provide.

Loading content...

Required methods

fn into_route_matcher(self) -> Self::Output

Transform into a RouteMatcher of the the associated type identified by Output.

Loading content...

Implementations on Foreign Types

impl IntoRouteMatcher for Vec<Method>[src]

Loading content...


impl<M> IntoRouteMatcher for M where
    M: RouteMatcher + Send + Sync + 'static, 

type Output = M

Loading content...