Trait tsukuyomi::app::builder::RouteConfig[][src]

pub trait RouteConfig {
    fn configure(self, route: &mut Route);
}

Trait representing a set of configuration for setting a route.

Required Methods

Applies this configuration to the provided Route.

Implementations on Foreign Types

impl<A, B> RouteConfig for (A, B) where
    A: AsRef<str>,
    B: Handler + Send + Sync + 'static, 
[src]

impl<A, B, C> RouteConfig for (A, B, C) where
    A: AsRef<str>,
    Method: HttpTryFrom<B>,
    C: Handler + Send + Sync + 'static,
    <Method as HttpTryFrom<B>>::Error: Fail
[src]

Implementors