Struct treemux::GroupBuilder[][src]

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

Implementations

impl<'a> GroupBuilder<'a>[src]

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

pub fn scope<'b, P: Into<Cow<'static, str>>>(
    &'b mut self,
    path: P
) -> GroupBuilder<'b>
[src]

pub fn middleware<M>(&mut self, middleware: M) where
    M: Middleware<Input = Handler, Output = Handler>, 
[src]

Trait Implementations

impl<'a> RouterBuilder for GroupBuilder<'a>[src]

Auto Trait Implementations

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

impl<'a> Send for GroupBuilder<'a>[src]

impl<'a> Sync for GroupBuilder<'a>[src]

impl<'a> Unpin for GroupBuilder<'a>[src]

impl<'a> !UnwindSafe for GroupBuilder<'a>[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.