Trait viz_core::Extract [−][src]
pub trait Extract: Sized { type Error; fn extract<'a>(
cx: &'a mut Context
) -> BoxFuture<'a, Result<Self, Self::Error>>; }
Expand description
A Extractor trait.
Associated Types
Required methods
Implementations on Foreign Types
impl<A, B, C, D, E, F, G, H, I, J, K, L> Extract for (A, B, C, D, E, F, G, H, I, J, K, L) where
A: Extract + Send,
B: Extract + Send,
C: Extract + Send,
D: Extract + Send,
E: Extract + Send,
F: Extract + Send,
G: Extract + Send,
H: Extract + Send,
I: Extract + Send,
J: Extract + Send,
K: Extract + Send,
L: Extract + Send,
A::Error: Into<Response> + Send + 'static,
B::Error: Into<Response> + Send + 'static,
C::Error: Into<Response> + Send + 'static,
D::Error: Into<Response> + Send + 'static,
E::Error: Into<Response> + Send + 'static,
F::Error: Into<Response> + Send + 'static,
G::Error: Into<Response> + Send + 'static,
H::Error: Into<Response> + Send + 'static,
I::Error: Into<Response> + Send + 'static,
J::Error: Into<Response> + Send + 'static,
K::Error: Into<Response> + Send + 'static,
L::Error: Into<Response> + Send + 'static,
impl<A, B, C, D, E, F, G, H, I, J, K, L> Extract for (A, B, C, D, E, F, G, H, I, J, K, L) where
A: Extract + Send,
B: Extract + Send,
C: Extract + Send,
D: Extract + Send,
E: Extract + Send,
F: Extract + Send,
G: Extract + Send,
H: Extract + Send,
I: Extract + Send,
J: Extract + Send,
K: Extract + Send,
L: Extract + Send,
A::Error: Into<Response> + Send + 'static,
B::Error: Into<Response> + Send + 'static,
C::Error: Into<Response> + Send + 'static,
D::Error: Into<Response> + Send + 'static,
E::Error: Into<Response> + Send + 'static,
F::Error: Into<Response> + Send + 'static,
G::Error: Into<Response> + Send + 'static,
H::Error: Into<Response> + Send + 'static,
I::Error: Into<Response> + Send + 'static,
J::Error: Into<Response> + Send + 'static,
K::Error: Into<Response> + Send + 'static,
L::Error: Into<Response> + Send + 'static,
impl<B, C, D, E, F, G, H, I, J, K, L> Extract for (B, C, D, E, F, G, H, I, J, K, L) where
B: Extract + Send,
C: Extract + Send,
D: Extract + Send,
E: Extract + Send,
F: Extract + Send,
G: Extract + Send,
H: Extract + Send,
I: Extract + Send,
J: Extract + Send,
K: Extract + Send,
L: Extract + Send,
B::Error: Into<Response> + Send + 'static,
C::Error: Into<Response> + Send + 'static,
D::Error: Into<Response> + Send + 'static,
E::Error: Into<Response> + Send + 'static,
F::Error: Into<Response> + Send + 'static,
G::Error: Into<Response> + Send + 'static,
H::Error: Into<Response> + Send + 'static,
I::Error: Into<Response> + Send + 'static,
J::Error: Into<Response> + Send + 'static,
K::Error: Into<Response> + Send + 'static,
L::Error: Into<Response> + Send + 'static,
impl<B, C, D, E, F, G, H, I, J, K, L> Extract for (B, C, D, E, F, G, H, I, J, K, L) where
B: Extract + Send,
C: Extract + Send,
D: Extract + Send,
E: Extract + Send,
F: Extract + Send,
G: Extract + Send,
H: Extract + Send,
I: Extract + Send,
J: Extract + Send,
K: Extract + Send,
L: Extract + Send,
B::Error: Into<Response> + Send + 'static,
C::Error: Into<Response> + Send + 'static,
D::Error: Into<Response> + Send + 'static,
E::Error: Into<Response> + Send + 'static,
F::Error: Into<Response> + Send + 'static,
G::Error: Into<Response> + Send + 'static,
H::Error: Into<Response> + Send + 'static,
I::Error: Into<Response> + Send + 'static,
J::Error: Into<Response> + Send + 'static,
K::Error: Into<Response> + Send + 'static,
L::Error: Into<Response> + Send + 'static,
impl<C, D, E, F, G, H, I, J, K, L> Extract for (C, D, E, F, G, H, I, J, K, L) where
C: Extract + Send,
D: Extract + Send,
E: Extract + Send,
F: Extract + Send,
G: Extract + Send,
H: Extract + Send,
I: Extract + Send,
J: Extract + Send,
K: Extract + Send,
L: Extract + Send,
C::Error: Into<Response> + Send + 'static,
D::Error: Into<Response> + Send + 'static,
E::Error: Into<Response> + Send + 'static,
F::Error: Into<Response> + Send + 'static,
G::Error: Into<Response> + Send + 'static,
H::Error: Into<Response> + Send + 'static,
I::Error: Into<Response> + Send + 'static,
J::Error: Into<Response> + Send + 'static,
K::Error: Into<Response> + Send + 'static,
L::Error: Into<Response> + Send + 'static,
impl<C, D, E, F, G, H, I, J, K, L> Extract for (C, D, E, F, G, H, I, J, K, L) where
C: Extract + Send,
D: Extract + Send,
E: Extract + Send,
F: Extract + Send,
G: Extract + Send,
H: Extract + Send,
I: Extract + Send,
J: Extract + Send,
K: Extract + Send,
L: Extract + Send,
C::Error: Into<Response> + Send + 'static,
D::Error: Into<Response> + Send + 'static,
E::Error: Into<Response> + Send + 'static,
F::Error: Into<Response> + Send + 'static,
G::Error: Into<Response> + Send + 'static,
H::Error: Into<Response> + Send + 'static,
I::Error: Into<Response> + Send + 'static,
J::Error: Into<Response> + Send + 'static,
K::Error: Into<Response> + Send + 'static,
L::Error: Into<Response> + Send + 'static,
impl<D, E, F, G, H, I, J, K, L> Extract for (D, E, F, G, H, I, J, K, L) where
D: Extract + Send,
E: Extract + Send,
F: Extract + Send,
G: Extract + Send,
H: Extract + Send,
I: Extract + Send,
J: Extract + Send,
K: Extract + Send,
L: Extract + Send,
D::Error: Into<Response> + Send + 'static,
E::Error: Into<Response> + Send + 'static,
F::Error: Into<Response> + Send + 'static,
G::Error: Into<Response> + Send + 'static,
H::Error: Into<Response> + Send + 'static,
I::Error: Into<Response> + Send + 'static,
J::Error: Into<Response> + Send + 'static,
K::Error: Into<Response> + Send + 'static,
L::Error: Into<Response> + Send + 'static,
impl<D, E, F, G, H, I, J, K, L> Extract for (D, E, F, G, H, I, J, K, L) where
D: Extract + Send,
E: Extract + Send,
F: Extract + Send,
G: Extract + Send,
H: Extract + Send,
I: Extract + Send,
J: Extract + Send,
K: Extract + Send,
L: Extract + Send,
D::Error: Into<Response> + Send + 'static,
E::Error: Into<Response> + Send + 'static,
F::Error: Into<Response> + Send + 'static,
G::Error: Into<Response> + Send + 'static,
H::Error: Into<Response> + Send + 'static,
I::Error: Into<Response> + Send + 'static,
J::Error: Into<Response> + Send + 'static,
K::Error: Into<Response> + Send + 'static,
L::Error: Into<Response> + Send + 'static,
impl<E, F, G, H, I, J, K, L> Extract for (E, F, G, H, I, J, K, L) where
E: Extract + Send,
F: Extract + Send,
G: Extract + Send,
H: Extract + Send,
I: Extract + Send,
J: Extract + Send,
K: Extract + Send,
L: Extract + Send,
E::Error: Into<Response> + Send + 'static,
F::Error: Into<Response> + Send + 'static,
G::Error: Into<Response> + Send + 'static,
H::Error: Into<Response> + Send + 'static,
I::Error: Into<Response> + Send + 'static,
J::Error: Into<Response> + Send + 'static,
K::Error: Into<Response> + Send + 'static,
L::Error: Into<Response> + Send + 'static,
impl<E, F, G, H, I, J, K, L> Extract for (E, F, G, H, I, J, K, L) where
E: Extract + Send,
F: Extract + Send,
G: Extract + Send,
H: Extract + Send,
I: Extract + Send,
J: Extract + Send,
K: Extract + Send,
L: Extract + Send,
E::Error: Into<Response> + Send + 'static,
F::Error: Into<Response> + Send + 'static,
G::Error: Into<Response> + Send + 'static,
H::Error: Into<Response> + Send + 'static,
I::Error: Into<Response> + Send + 'static,
J::Error: Into<Response> + Send + 'static,
K::Error: Into<Response> + Send + 'static,
L::Error: Into<Response> + Send + 'static,
impl<F, G, H, I, J, K, L> Extract for (F, G, H, I, J, K, L) where
F: Extract + Send,
G: Extract + Send,
H: Extract + Send,
I: Extract + Send,
J: Extract + Send,
K: Extract + Send,
L: Extract + Send,
F::Error: Into<Response> + Send + 'static,
G::Error: Into<Response> + Send + 'static,
H::Error: Into<Response> + Send + 'static,
I::Error: Into<Response> + Send + 'static,
J::Error: Into<Response> + Send + 'static,
K::Error: Into<Response> + Send + 'static,
L::Error: Into<Response> + Send + 'static,
impl<F, G, H, I, J, K, L> Extract for (F, G, H, I, J, K, L) where
F: Extract + Send,
G: Extract + Send,
H: Extract + Send,
I: Extract + Send,
J: Extract + Send,
K: Extract + Send,
L: Extract + Send,
F::Error: Into<Response> + Send + 'static,
G::Error: Into<Response> + Send + 'static,
H::Error: Into<Response> + Send + 'static,
I::Error: Into<Response> + Send + 'static,
J::Error: Into<Response> + Send + 'static,
K::Error: Into<Response> + Send + 'static,
L::Error: Into<Response> + Send + 'static,
impl<G, H, I, J, K, L> Extract for (G, H, I, J, K, L) where
G: Extract + Send,
H: Extract + Send,
I: Extract + Send,
J: Extract + Send,
K: Extract + Send,
L: Extract + Send,
G::Error: Into<Response> + Send + 'static,
H::Error: Into<Response> + Send + 'static,
I::Error: Into<Response> + Send + 'static,
J::Error: Into<Response> + Send + 'static,
K::Error: Into<Response> + Send + 'static,
L::Error: Into<Response> + Send + 'static,
impl<G, H, I, J, K, L> Extract for (G, H, I, J, K, L) where
G: Extract + Send,
H: Extract + Send,
I: Extract + Send,
J: Extract + Send,
K: Extract + Send,
L: Extract + Send,
G::Error: Into<Response> + Send + 'static,
H::Error: Into<Response> + Send + 'static,
I::Error: Into<Response> + Send + 'static,
J::Error: Into<Response> + Send + 'static,
K::Error: Into<Response> + Send + 'static,
L::Error: Into<Response> + Send + 'static,
impl<H, I, J, K, L> Extract for (H, I, J, K, L) where
H: Extract + Send,
I: Extract + Send,
J: Extract + Send,
K: Extract + Send,
L: Extract + Send,
H::Error: Into<Response> + Send + 'static,
I::Error: Into<Response> + Send + 'static,
J::Error: Into<Response> + Send + 'static,
K::Error: Into<Response> + Send + 'static,
L::Error: Into<Response> + Send + 'static,
impl<H, I, J, K, L> Extract for (H, I, J, K, L) where
H: Extract + Send,
I: Extract + Send,
J: Extract + Send,
K: Extract + Send,
L: Extract + Send,
H::Error: Into<Response> + Send + 'static,
I::Error: Into<Response> + Send + 'static,
J::Error: Into<Response> + Send + 'static,
K::Error: Into<Response> + Send + 'static,
L::Error: Into<Response> + Send + 'static,