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

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[src]

The concrete RouteMatcher each implementation will provide.

Loading content...

Required methods

fn into_route_matcher(self) -> Self::Output[src]

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...

Implementors

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

type Output = M

Loading content...