Struct treemux::GroupBuilder[][src]

pub struct GroupBuilder<'a, M, S> { /* fields omitted */ }

Implementations

impl<'a, M, S> GroupBuilder<'a, M, S>[src]

pub fn extend<P: Into<Cow<'static, str>>, B: Into<Treemux>>(
    &self,
    path: P,
    routes: B
)
[src]

pub fn scope<P: Into<Cow<'static, str>>>(
    self,
    path: P
) -> GroupBuilder<'a, M, S>
[src]

pub fn middleware<N>(self, middleware: N) -> GroupBuilder<'a, Stack<N, M>, S> where
    N: Layer<S::Service, Service = S::Service>,
    M: Layer<S::Service, Service = S::Service>,
    S: Layer<RequestHandler, Service = RequestHandler>, 
[src]

Trait Implementations

impl<'a, M, S> RouterBuilder for GroupBuilder<'a, M, S> where
    S: Layer<RequestHandler, Service = RequestHandler>,
    M: Layer<RequestHandler, Service = RequestHandler>, 
[src]

Auto Trait Implementations

impl<'a, M, S> !RefUnwindSafe for GroupBuilder<'a, M, S>[src]

impl<'a, M, S> Send for GroupBuilder<'a, M, S> where
    M: Send,
    S: Sync
[src]

impl<'a, M, S> Sync for GroupBuilder<'a, M, S> where
    M: Sync,
    S: Sync
[src]

impl<'a, M, S> Unpin for GroupBuilder<'a, M, S> where
    M: Unpin
[src]

impl<'a, M, S> !UnwindSafe for GroupBuilder<'a, M, S>[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.