pub struct Path<T>(pub T);
Expand description
Token extractor from the path from a request
The Path
extractors allows for tuple extraction from a path with variable or regex components.
Tuple Fields
0: T
Implementations
sourceimpl<P> Path<P>
impl<P> Path<P>
sourcepub fn into_inner(self) -> P
pub fn into_inner(self) -> P
Retrieves the inner instance of the generic type
Trait Implementations
sourceimpl<Ae: Error, A: 'static + FromStr<Err = Ae> + Send, Be: Error, B: 'static + FromStr<Err = Be> + Send, T: Sync> Extractor<T> for Path<(A, B)>
impl<Ae: Error, A: 'static + FromStr<Err = Ae> + Send, Be: Error, B: 'static + FromStr<Err = Be> + Send, T: Sync> Extractor<T> for Path<(A, B)>
sourceimpl<Ae: Error, A: 'static + FromStr<Err = Ae> + Send, Be: Error, B: 'static + FromStr<Err = Be> + Send, Ce: Error, C: 'static + FromStr<Err = Ce> + Send, T: Sync> Extractor<T> for Path<(A, B, C)>
impl<Ae: Error, A: 'static + FromStr<Err = Ae> + Send, Be: Error, B: 'static + FromStr<Err = Be> + Send, Ce: Error, C: 'static + FromStr<Err = Ce> + Send, T: Sync> Extractor<T> for Path<(A, B, C)>
sourceimpl<Ae: Error, A: 'static + FromStr<Err = Ae> + Send, Be: Error, B: 'static + FromStr<Err = Be> + Send, Ce: Error, C: 'static + FromStr<Err = Ce> + Send, De: Error, D: 'static + FromStr<Err = De> + Send, T: Sync> Extractor<T> for Path<(A, B, C, D)>
impl<Ae: Error, A: 'static + FromStr<Err = Ae> + Send, Be: Error, B: 'static + FromStr<Err = Be> + Send, Ce: Error, C: 'static + FromStr<Err = Ce> + Send, De: Error, D: 'static + FromStr<Err = De> + Send, T: Sync> Extractor<T> for Path<(A, B, C, D)>
sourceimpl<Ae: Error, A: 'static + FromStr<Err = Ae> + Send, Be: Error, B: 'static + FromStr<Err = Be> + Send, Ce: Error, C: 'static + FromStr<Err = Ce> + Send, De: Error, D: 'static + FromStr<Err = De> + Send, Ee: Error, E: 'static + FromStr<Err = Ee> + Send, T: Sync> Extractor<T> for Path<(A, B, C, D, E)>
impl<Ae: Error, A: 'static + FromStr<Err = Ae> + Send, Be: Error, B: 'static + FromStr<Err = Be> + Send, Ce: Error, C: 'static + FromStr<Err = Ce> + Send, De: Error, D: 'static + FromStr<Err = De> + Send, Ee: Error, E: 'static + FromStr<Err = Ee> + Send, T: Sync> Extractor<T> for Path<(A, B, C, D, E)>
sourceimpl<Ae: Error, A: 'static + FromStr<Err = Ae> + Send, Be: Error, B: 'static + FromStr<Err = Be> + Send, Ce: Error, C: 'static + FromStr<Err = Ce> + Send, De: Error, D: 'static + FromStr<Err = De> + Send, Ee: Error, E: 'static + FromStr<Err = Ee> + Send, Fe: Error, F: 'static + FromStr<Err = Fe> + Send, T: Sync> Extractor<T> for Path<(A, B, C, D, E, F)>
impl<Ae: Error, A: 'static + FromStr<Err = Ae> + Send, Be: Error, B: 'static + FromStr<Err = Be> + Send, Ce: Error, C: 'static + FromStr<Err = Ce> + Send, De: Error, D: 'static + FromStr<Err = De> + Send, Ee: Error, E: 'static + FromStr<Err = Ee> + Send, Fe: Error, F: 'static + FromStr<Err = Fe> + Send, T: Sync> Extractor<T> for Path<(A, B, C, D, E, F)>
sourceimpl<Ae: Error, A: 'static + FromStr<Err = Ae> + Send, Be: Error, B: 'static + FromStr<Err = Be> + Send, Ce: Error, C: 'static + FromStr<Err = Ce> + Send, De: Error, D: 'static + FromStr<Err = De> + Send, Ee: Error, E: 'static + FromStr<Err = Ee> + Send, Fe: Error, F: 'static + FromStr<Err = Fe> + Send, Ge: Error, G: 'static + FromStr<Err = Ge> + Send, T: Sync> Extractor<T> for Path<(A, B, C, D, E, F, G)>
impl<Ae: Error, A: 'static + FromStr<Err = Ae> + Send, Be: Error, B: 'static + FromStr<Err = Be> + Send, Ce: Error, C: 'static + FromStr<Err = Ce> + Send, De: Error, D: 'static + FromStr<Err = De> + Send, Ee: Error, E: 'static + FromStr<Err = Ee> + Send, Fe: Error, F: 'static + FromStr<Err = Fe> + Send, Ge: Error, G: 'static + FromStr<Err = Ge> + Send, T: Sync> Extractor<T> for Path<(A, B, C, D, E, F, G)>
sourceimpl<Ae: Error, A: 'static + FromStr<Err = Ae> + Send, Be: Error, B: 'static + FromStr<Err = Be> + Send, Ce: Error, C: 'static + FromStr<Err = Ce> + Send, De: Error, D: 'static + FromStr<Err = De> + Send, Ee: Error, E: 'static + FromStr<Err = Ee> + Send, Fe: Error, F: 'static + FromStr<Err = Fe> + Send, Ge: Error, G: 'static + FromStr<Err = Ge> + Send, He: Error, H: 'static + FromStr<Err = He> + Send, T: Sync> Extractor<T> for Path<(A, B, C, D, E, F, G, H)>
impl<Ae: Error, A: 'static + FromStr<Err = Ae> + Send, Be: Error, B: 'static + FromStr<Err = Be> + Send, Ce: Error, C: 'static + FromStr<Err = Ce> + Send, De: Error, D: 'static + FromStr<Err = De> + Send, Ee: Error, E: 'static + FromStr<Err = Ee> + Send, Fe: Error, F: 'static + FromStr<Err = Fe> + Send, Ge: Error, G: 'static + FromStr<Err = Ge> + Send, He: Error, H: 'static + FromStr<Err = He> + Send, T: Sync> Extractor<T> for Path<(A, B, C, D, E, F, G, H)>
sourceimpl<Ae: Error, A: 'static + FromStr<Err = Ae> + Send, Be: Error, B: 'static + FromStr<Err = Be> + Send, Ce: Error, C: 'static + FromStr<Err = Ce> + Send, De: Error, D: 'static + FromStr<Err = De> + Send, Ee: Error, E: 'static + FromStr<Err = Ee> + Send, Fe: Error, F: 'static + FromStr<Err = Fe> + Send, Ge: Error, G: 'static + FromStr<Err = Ge> + Send, He: Error, H: 'static + FromStr<Err = He> + Send, Ie: Error, I: 'static + FromStr<Err = Ie> + Send, T: Sync> Extractor<T> for Path<(A, B, C, D, E, F, G, H, I)>
impl<Ae: Error, A: 'static + FromStr<Err = Ae> + Send, Be: Error, B: 'static + FromStr<Err = Be> + Send, Ce: Error, C: 'static + FromStr<Err = Ce> + Send, De: Error, D: 'static + FromStr<Err = De> + Send, Ee: Error, E: 'static + FromStr<Err = Ee> + Send, Fe: Error, F: 'static + FromStr<Err = Fe> + Send, Ge: Error, G: 'static + FromStr<Err = Ge> + Send, He: Error, H: 'static + FromStr<Err = He> + Send, Ie: Error, I: 'static + FromStr<Err = Ie> + Send, T: Sync> Extractor<T> for Path<(A, B, C, D, E, F, G, H, I)>
sourceimpl<Ae: Error, A: 'static + FromStr<Err = Ae> + Send, Be: Error, B: 'static + FromStr<Err = Be> + Send, Ce: Error, C: 'static + FromStr<Err = Ce> + Send, De: Error, D: 'static + FromStr<Err = De> + Send, Ee: Error, E: 'static + FromStr<Err = Ee> + Send, Fe: Error, F: 'static + FromStr<Err = Fe> + Send, Ge: Error, G: 'static + FromStr<Err = Ge> + Send, He: Error, H: 'static + FromStr<Err = He> + Send, Ie: Error, I: 'static + FromStr<Err = Ie> + Send, Je: Error, J: 'static + FromStr<Err = Je> + Send, T: Sync> Extractor<T> for Path<(A, B, C, D, E, F, G, H, I, J)>
impl<Ae: Error, A: 'static + FromStr<Err = Ae> + Send, Be: Error, B: 'static + FromStr<Err = Be> + Send, Ce: Error, C: 'static + FromStr<Err = Ce> + Send, De: Error, D: 'static + FromStr<Err = De> + Send, Ee: Error, E: 'static + FromStr<Err = Ee> + Send, Fe: Error, F: 'static + FromStr<Err = Fe> + Send, Ge: Error, G: 'static + FromStr<Err = Ge> + Send, He: Error, H: 'static + FromStr<Err = He> + Send, Ie: Error, I: 'static + FromStr<Err = Ie> + Send, Je: Error, J: 'static + FromStr<Err = Je> + Send, T: Sync> Extractor<T> for Path<(A, B, C, D, E, F, G, H, I, J)>
Auto Trait Implementations
impl<T> RefUnwindSafe for Path<T> where
T: RefUnwindSafe,
impl<T> Send for Path<T> where
T: Send,
impl<T> Sync for Path<T> where
T: Sync,
impl<T> Unpin for Path<T> where
T: Unpin,
impl<T> UnwindSafe for Path<T> where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more