[][src]Struct gotham::router::route::Extractors

pub struct Extractors<PE, QSE> where
    PE: PathExtractor<Body>,
    QSE: QueryStringExtractor<Body>, 
{ /* fields omitted */ }

Extractors used by RouteImpl to acquire request data and change into a type safe form for use by Middleware and Handler implementations.

Implementations

impl<PE, QSE> Extractors<PE, QSE> where
    PE: PathExtractor<Body>,
    QSE: QueryStringExtractor<Body>, 
[src]

pub fn new() -> Self[src]

Creates a new set of Extractors for use with a RouteImpl

Auto Trait Implementations

impl<PE, QSE> RefUnwindSafe for Extractors<PE, QSE>

impl<PE, QSE> Send for Extractors<PE, QSE>

impl<PE, QSE> Sync for Extractors<PE, QSE> where
    PE: Sync,
    QSE: Sync

impl<PE, QSE> Unpin for Extractors<PE, QSE> where
    PE: Unpin,
    QSE: Unpin

impl<PE, QSE> UnwindSafe for Extractors<PE, QSE> where
    PE: UnwindSafe,
    QSE: UnwindSafe

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