[][src]Struct gotham::router::builder::DelegateRouteBuilder

pub struct DelegateRouteBuilder<'a, C, P> where
    C: PipelineHandleChain<P> + Copy + Send + Sync + 'static,
    P: Send + Sync + 'static, 
{ /* fields omitted */ }

A delegated builder, which is created by DrawRoutes::delegate and returned. The DrawRoutes trait has documentation for using this type.

Implementations

impl<'a, C, P> DelegateRouteBuilder<'a, C, P> where
    C: PipelineHandleChain<P> + Copy + Send + Sync + 'static,
    P: RefUnwindSafe + Send + Sync + 'static, 
[src]

pub fn to_router(self, router: Router)[src]

Directs the delegated route to the given Router.

Auto Trait Implementations

impl<'a, C, P> RefUnwindSafe for DelegateRouteBuilder<'a, C, P> where
    P: RefUnwindSafe

impl<'a, C, P> Send for DelegateRouteBuilder<'a, C, P>

impl<'a, C, P> Sync for DelegateRouteBuilder<'a, C, P>

impl<'a, C, P> Unpin for DelegateRouteBuilder<'a, C, P> where
    C: Unpin

impl<'a, C, P> !UnwindSafe for DelegateRouteBuilder<'a, C, P>

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

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,