Trait thruster::parser::middleware_traits::IntoMiddleware [−][src]
pub trait IntoMiddleware<T, A> { fn middleware(
self
) -> Box<dyn Fn(T) -> Pin<Box<dyn Future<Output = Result<T, ThrusterError<T>>> + Sync + Send>> + Send + Sync>; }
Required methods
Implementations on Foreign Types
impl<T: 'static + Sync + Send, P: MiddlewareFunc<T> + 'static + Send + Sync + Copy, O: MiddlewareFunc<T> + 'static + Send + Sync + Copy, N: MiddlewareFunc<T> + 'static + Send + Sync + Copy, M: MiddlewareFunc<T> + 'static + Send + Sync + Copy, L: MiddlewareFunc<T> + 'static + Send + Sync + Copy, K: MiddlewareFunc<T> + 'static + Send + Sync + Copy, J: MiddlewareFunc<T> + 'static + Send + Sync + Copy, I: MiddlewareFunc<T> + 'static + Send + Sync + Copy, H: MiddlewareFunc<T> + 'static + Send + Sync + Copy, G: MiddlewareFunc<T> + 'static + Send + Sync + Copy, F: MiddlewareFunc<T> + 'static + Send + Sync + Copy, E: MiddlewareFunc<T> + 'static + Send + Sync + Copy, D: MiddlewareFunc<T> + 'static + Send + Sync + Copy, C: MiddlewareFunc<T> + 'static + Send + Sync + Copy, B: MiddlewareFunc<T> + 'static + Send + Sync + Copy, A: MiddlewareFunc<T> + 'static + Send + Sync + Copy> IntoMiddleware<T, (P, O, N, M, L, K, J, I, H, G, F, E, D, C, B, A)> for (P, O, N, M, L, K, J, I, H, G, F, E, D, C, B, A)
[src]
impl<T: 'static + Sync + Send, P: MiddlewareFunc<T> + 'static + Send + Sync + Copy, O: MiddlewareFunc<T> + 'static + Send + Sync + Copy, N: MiddlewareFunc<T> + 'static + Send + Sync + Copy, M: MiddlewareFunc<T> + 'static + Send + Sync + Copy, L: MiddlewareFunc<T> + 'static + Send + Sync + Copy, K: MiddlewareFunc<T> + 'static + Send + Sync + Copy, J: MiddlewareFunc<T> + 'static + Send + Sync + Copy, I: MiddlewareFunc<T> + 'static + Send + Sync + Copy, H: MiddlewareFunc<T> + 'static + Send + Sync + Copy, G: MiddlewareFunc<T> + 'static + Send + Sync + Copy, F: MiddlewareFunc<T> + 'static + Send + Sync + Copy, E: MiddlewareFunc<T> + 'static + Send + Sync + Copy, D: MiddlewareFunc<T> + 'static + Send + Sync + Copy, C: MiddlewareFunc<T> + 'static + Send + Sync + Copy, B: MiddlewareFunc<T> + 'static + Send + Sync + Copy, A: MiddlewareFunc<T> + 'static + Send + Sync + Copy> IntoMiddleware<T, (P, O, N, M, L, K, J, I, H, G, F, E, D, C, B, A)> for (P, O, N, M, L, K, J, I, H, G, F, E, D, C, B, A)
[src]impl<T: 'static + Sync + Send, O: MiddlewareFunc<T> + 'static + Send + Sync + Copy, N: MiddlewareFunc<T> + 'static + Send + Sync + Copy, M: MiddlewareFunc<T> + 'static + Send + Sync + Copy, L: MiddlewareFunc<T> + 'static + Send + Sync + Copy, K: MiddlewareFunc<T> + 'static + Send + Sync + Copy, J: MiddlewareFunc<T> + 'static + Send + Sync + Copy, I: MiddlewareFunc<T> + 'static + Send + Sync + Copy, H: MiddlewareFunc<T> + 'static + Send + Sync + Copy, G: MiddlewareFunc<T> + 'static + Send + Sync + Copy, F: MiddlewareFunc<T> + 'static + Send + Sync + Copy, E: MiddlewareFunc<T> + 'static + Send + Sync + Copy, D: MiddlewareFunc<T> + 'static + Send + Sync + Copy, C: MiddlewareFunc<T> + 'static + Send + Sync + Copy, B: MiddlewareFunc<T> + 'static + Send + Sync + Copy, A: MiddlewareFunc<T> + 'static + Send + Sync + Copy> IntoMiddleware<T, (O, N, M, L, K, J, I, H, G, F, E, D, C, B, A)> for (O, N, M, L, K, J, I, H, G, F, E, D, C, B, A)
[src]
impl<T: 'static + Sync + Send, O: MiddlewareFunc<T> + 'static + Send + Sync + Copy, N: MiddlewareFunc<T> + 'static + Send + Sync + Copy, M: MiddlewareFunc<T> + 'static + Send + Sync + Copy, L: MiddlewareFunc<T> + 'static + Send + Sync + Copy, K: MiddlewareFunc<T> + 'static + Send + Sync + Copy, J: MiddlewareFunc<T> + 'static + Send + Sync + Copy, I: MiddlewareFunc<T> + 'static + Send + Sync + Copy, H: MiddlewareFunc<T> + 'static + Send + Sync + Copy, G: MiddlewareFunc<T> + 'static + Send + Sync + Copy, F: MiddlewareFunc<T> + 'static + Send + Sync + Copy, E: MiddlewareFunc<T> + 'static + Send + Sync + Copy, D: MiddlewareFunc<T> + 'static + Send + Sync + Copy, C: MiddlewareFunc<T> + 'static + Send + Sync + Copy, B: MiddlewareFunc<T> + 'static + Send + Sync + Copy, A: MiddlewareFunc<T> + 'static + Send + Sync + Copy> IntoMiddleware<T, (O, N, M, L, K, J, I, H, G, F, E, D, C, B, A)> for (O, N, M, L, K, J, I, H, G, F, E, D, C, B, A)
[src]impl<T: 'static + Sync + Send, N: MiddlewareFunc<T> + 'static + Send + Sync + Copy, M: MiddlewareFunc<T> + 'static + Send + Sync + Copy, L: MiddlewareFunc<T> + 'static + Send + Sync + Copy, K: MiddlewareFunc<T> + 'static + Send + Sync + Copy, J: MiddlewareFunc<T> + 'static + Send + Sync + Copy, I: MiddlewareFunc<T> + 'static + Send + Sync + Copy, H: MiddlewareFunc<T> + 'static + Send + Sync + Copy, G: MiddlewareFunc<T> + 'static + Send + Sync + Copy, F: MiddlewareFunc<T> + 'static + Send + Sync + Copy, E: MiddlewareFunc<T> + 'static + Send + Sync + Copy, D: MiddlewareFunc<T> + 'static + Send + Sync + Copy, C: MiddlewareFunc<T> + 'static + Send + Sync + Copy, B: MiddlewareFunc<T> + 'static + Send + Sync + Copy, A: MiddlewareFunc<T> + 'static + Send + Sync + Copy> IntoMiddleware<T, (N, M, L, K, J, I, H, G, F, E, D, C, B, A)> for (N, M, L, K, J, I, H, G, F, E, D, C, B, A)
[src]
impl<T: 'static + Sync + Send, N: MiddlewareFunc<T> + 'static + Send + Sync + Copy, M: MiddlewareFunc<T> + 'static + Send + Sync + Copy, L: MiddlewareFunc<T> + 'static + Send + Sync + Copy, K: MiddlewareFunc<T> + 'static + Send + Sync + Copy, J: MiddlewareFunc<T> + 'static + Send + Sync + Copy, I: MiddlewareFunc<T> + 'static + Send + Sync + Copy, H: MiddlewareFunc<T> + 'static + Send + Sync + Copy, G: MiddlewareFunc<T> + 'static + Send + Sync + Copy, F: MiddlewareFunc<T> + 'static + Send + Sync + Copy, E: MiddlewareFunc<T> + 'static + Send + Sync + Copy, D: MiddlewareFunc<T> + 'static + Send + Sync + Copy, C: MiddlewareFunc<T> + 'static + Send + Sync + Copy, B: MiddlewareFunc<T> + 'static + Send + Sync + Copy, A: MiddlewareFunc<T> + 'static + Send + Sync + Copy> IntoMiddleware<T, (N, M, L, K, J, I, H, G, F, E, D, C, B, A)> for (N, M, L, K, J, I, H, G, F, E, D, C, B, A)
[src]impl<T: 'static + Sync + Send, M: MiddlewareFunc<T> + 'static + Send + Sync + Copy, L: MiddlewareFunc<T> + 'static + Send + Sync + Copy, K: MiddlewareFunc<T> + 'static + Send + Sync + Copy, J: MiddlewareFunc<T> + 'static + Send + Sync + Copy, I: MiddlewareFunc<T> + 'static + Send + Sync + Copy, H: MiddlewareFunc<T> + 'static + Send + Sync + Copy, G: MiddlewareFunc<T> + 'static + Send + Sync + Copy, F: MiddlewareFunc<T> + 'static + Send + Sync + Copy, E: MiddlewareFunc<T> + 'static + Send + Sync + Copy, D: MiddlewareFunc<T> + 'static + Send + Sync + Copy, C: MiddlewareFunc<T> + 'static + Send + Sync + Copy, B: MiddlewareFunc<T> + 'static + Send + Sync + Copy, A: MiddlewareFunc<T> + 'static + Send + Sync + Copy> IntoMiddleware<T, (M, L, K, J, I, H, G, F, E, D, C, B, A)> for (M, L, K, J, I, H, G, F, E, D, C, B, A)
[src]
impl<T: 'static + Sync + Send, M: MiddlewareFunc<T> + 'static + Send + Sync + Copy, L: MiddlewareFunc<T> + 'static + Send + Sync + Copy, K: MiddlewareFunc<T> + 'static + Send + Sync + Copy, J: MiddlewareFunc<T> + 'static + Send + Sync + Copy, I: MiddlewareFunc<T> + 'static + Send + Sync + Copy, H: MiddlewareFunc<T> + 'static + Send + Sync + Copy, G: MiddlewareFunc<T> + 'static + Send + Sync + Copy, F: MiddlewareFunc<T> + 'static + Send + Sync + Copy, E: MiddlewareFunc<T> + 'static + Send + Sync + Copy, D: MiddlewareFunc<T> + 'static + Send + Sync + Copy, C: MiddlewareFunc<T> + 'static + Send + Sync + Copy, B: MiddlewareFunc<T> + 'static + Send + Sync + Copy, A: MiddlewareFunc<T> + 'static + Send + Sync + Copy> IntoMiddleware<T, (M, L, K, J, I, H, G, F, E, D, C, B, A)> for (M, L, K, J, I, H, G, F, E, D, C, B, A)
[src]impl<T: 'static + Sync + Send, L: MiddlewareFunc<T> + 'static + Send + Sync + Copy, K: MiddlewareFunc<T> + 'static + Send + Sync + Copy, J: MiddlewareFunc<T> + 'static + Send + Sync + Copy, I: MiddlewareFunc<T> + 'static + Send + Sync + Copy, H: MiddlewareFunc<T> + 'static + Send + Sync + Copy, G: MiddlewareFunc<T> + 'static + Send + Sync + Copy, F: MiddlewareFunc<T> + 'static + Send + Sync + Copy, E: MiddlewareFunc<T> + 'static + Send + Sync + Copy, D: MiddlewareFunc<T> + 'static + Send + Sync + Copy, C: MiddlewareFunc<T> + 'static + Send + Sync + Copy, B: MiddlewareFunc<T> + 'static + Send + Sync + Copy, A: MiddlewareFunc<T> + 'static + Send + Sync + Copy> IntoMiddleware<T, (L, K, J, I, H, G, F, E, D, C, B, A)> for (L, K, J, I, H, G, F, E, D, C, B, A)
[src]
impl<T: 'static + Sync + Send, L: MiddlewareFunc<T> + 'static + Send + Sync + Copy, K: MiddlewareFunc<T> + 'static + Send + Sync + Copy, J: MiddlewareFunc<T> + 'static + Send + Sync + Copy, I: MiddlewareFunc<T> + 'static + Send + Sync + Copy, H: MiddlewareFunc<T> + 'static + Send + Sync + Copy, G: MiddlewareFunc<T> + 'static + Send + Sync + Copy, F: MiddlewareFunc<T> + 'static + Send + Sync + Copy, E: MiddlewareFunc<T> + 'static + Send + Sync + Copy, D: MiddlewareFunc<T> + 'static + Send + Sync + Copy, C: MiddlewareFunc<T> + 'static + Send + Sync + Copy, B: MiddlewareFunc<T> + 'static + Send + Sync + Copy, A: MiddlewareFunc<T> + 'static + Send + Sync + Copy> IntoMiddleware<T, (L, K, J, I, H, G, F, E, D, C, B, A)> for (L, K, J, I, H, G, F, E, D, C, B, A)
[src]impl<T: 'static + Sync + Send, K: MiddlewareFunc<T> + 'static + Send + Sync + Copy, J: MiddlewareFunc<T> + 'static + Send + Sync + Copy, I: MiddlewareFunc<T> + 'static + Send + Sync + Copy, H: MiddlewareFunc<T> + 'static + Send + Sync + Copy, G: MiddlewareFunc<T> + 'static + Send + Sync + Copy, F: MiddlewareFunc<T> + 'static + Send + Sync + Copy, E: MiddlewareFunc<T> + 'static + Send + Sync + Copy, D: MiddlewareFunc<T> + 'static + Send + Sync + Copy, C: MiddlewareFunc<T> + 'static + Send + Sync + Copy, B: MiddlewareFunc<T> + 'static + Send + Sync + Copy, A: MiddlewareFunc<T> + 'static + Send + Sync + Copy> IntoMiddleware<T, (K, J, I, H, G, F, E, D, C, B, A)> for (K, J, I, H, G, F, E, D, C, B, A)
[src]
impl<T: 'static + Sync + Send, K: MiddlewareFunc<T> + 'static + Send + Sync + Copy, J: MiddlewareFunc<T> + 'static + Send + Sync + Copy, I: MiddlewareFunc<T> + 'static + Send + Sync + Copy, H: MiddlewareFunc<T> + 'static + Send + Sync + Copy, G: MiddlewareFunc<T> + 'static + Send + Sync + Copy, F: MiddlewareFunc<T> + 'static + Send + Sync + Copy, E: MiddlewareFunc<T> + 'static + Send + Sync + Copy, D: MiddlewareFunc<T> + 'static + Send + Sync + Copy, C: MiddlewareFunc<T> + 'static + Send + Sync + Copy, B: MiddlewareFunc<T> + 'static + Send + Sync + Copy, A: MiddlewareFunc<T> + 'static + Send + Sync + Copy> IntoMiddleware<T, (K, J, I, H, G, F, E, D, C, B, A)> for (K, J, I, H, G, F, E, D, C, B, A)
[src]impl<T: 'static + Sync + Send, J: MiddlewareFunc<T> + 'static + Send + Sync + Copy, I: MiddlewareFunc<T> + 'static + Send + Sync + Copy, H: MiddlewareFunc<T> + 'static + Send + Sync + Copy, G: MiddlewareFunc<T> + 'static + Send + Sync + Copy, F: MiddlewareFunc<T> + 'static + Send + Sync + Copy, E: MiddlewareFunc<T> + 'static + Send + Sync + Copy, D: MiddlewareFunc<T> + 'static + Send + Sync + Copy, C: MiddlewareFunc<T> + 'static + Send + Sync + Copy, B: MiddlewareFunc<T> + 'static + Send + Sync + Copy, A: MiddlewareFunc<T> + 'static + Send + Sync + Copy> IntoMiddleware<T, (J, I, H, G, F, E, D, C, B, A)> for (J, I, H, G, F, E, D, C, B, A)
[src]
impl<T: 'static + Sync + Send, J: MiddlewareFunc<T> + 'static + Send + Sync + Copy, I: MiddlewareFunc<T> + 'static + Send + Sync + Copy, H: MiddlewareFunc<T> + 'static + Send + Sync + Copy, G: MiddlewareFunc<T> + 'static + Send + Sync + Copy, F: MiddlewareFunc<T> + 'static + Send + Sync + Copy, E: MiddlewareFunc<T> + 'static + Send + Sync + Copy, D: MiddlewareFunc<T> + 'static + Send + Sync + Copy, C: MiddlewareFunc<T> + 'static + Send + Sync + Copy, B: MiddlewareFunc<T> + 'static + Send + Sync + Copy, A: MiddlewareFunc<T> + 'static + Send + Sync + Copy> IntoMiddleware<T, (J, I, H, G, F, E, D, C, B, A)> for (J, I, H, G, F, E, D, C, B, A)
[src]impl<T: 'static + Sync + Send, I: MiddlewareFunc<T> + 'static + Send + Sync + Copy, H: MiddlewareFunc<T> + 'static + Send + Sync + Copy, G: MiddlewareFunc<T> + 'static + Send + Sync + Copy, F: MiddlewareFunc<T> + 'static + Send + Sync + Copy, E: MiddlewareFunc<T> + 'static + Send + Sync + Copy, D: MiddlewareFunc<T> + 'static + Send + Sync + Copy, C: MiddlewareFunc<T> + 'static + Send + Sync + Copy, B: MiddlewareFunc<T> + 'static + Send + Sync + Copy, A: MiddlewareFunc<T> + 'static + Send + Sync + Copy> IntoMiddleware<T, (I, H, G, F, E, D, C, B, A)> for (I, H, G, F, E, D, C, B, A)
[src]
impl<T: 'static + Sync + Send, I: MiddlewareFunc<T> + 'static + Send + Sync + Copy, H: MiddlewareFunc<T> + 'static + Send + Sync + Copy, G: MiddlewareFunc<T> + 'static + Send + Sync + Copy, F: MiddlewareFunc<T> + 'static + Send + Sync + Copy, E: MiddlewareFunc<T> + 'static + Send + Sync + Copy, D: MiddlewareFunc<T> + 'static + Send + Sync + Copy, C: MiddlewareFunc<T> + 'static + Send + Sync + Copy, B: MiddlewareFunc<T> + 'static + Send + Sync + Copy, A: MiddlewareFunc<T> + 'static + Send + Sync + Copy> IntoMiddleware<T, (I, H, G, F, E, D, C, B, A)> for (I, H, G, F, E, D, C, B, A)
[src]impl<T: 'static + Sync + Send, H: MiddlewareFunc<T> + 'static + Send + Sync + Copy, G: MiddlewareFunc<T> + 'static + Send + Sync + Copy, F: MiddlewareFunc<T> + 'static + Send + Sync + Copy, E: MiddlewareFunc<T> + 'static + Send + Sync + Copy, D: MiddlewareFunc<T> + 'static + Send + Sync + Copy, C: MiddlewareFunc<T> + 'static + Send + Sync + Copy, B: MiddlewareFunc<T> + 'static + Send + Sync + Copy, A: MiddlewareFunc<T> + 'static + Send + Sync + Copy> IntoMiddleware<T, (H, G, F, E, D, C, B, A)> for (H, G, F, E, D, C, B, A)
[src]
impl<T: 'static + Sync + Send, H: MiddlewareFunc<T> + 'static + Send + Sync + Copy, G: MiddlewareFunc<T> + 'static + Send + Sync + Copy, F: MiddlewareFunc<T> + 'static + Send + Sync + Copy, E: MiddlewareFunc<T> + 'static + Send + Sync + Copy, D: MiddlewareFunc<T> + 'static + Send + Sync + Copy, C: MiddlewareFunc<T> + 'static + Send + Sync + Copy, B: MiddlewareFunc<T> + 'static + Send + Sync + Copy, A: MiddlewareFunc<T> + 'static + Send + Sync + Copy> IntoMiddleware<T, (H, G, F, E, D, C, B, A)> for (H, G, F, E, D, C, B, A)
[src]impl<T: 'static + Sync + Send, G: MiddlewareFunc<T> + 'static + Send + Sync + Copy, F: MiddlewareFunc<T> + 'static + Send + Sync + Copy, E: MiddlewareFunc<T> + 'static + Send + Sync + Copy, D: MiddlewareFunc<T> + 'static + Send + Sync + Copy, C: MiddlewareFunc<T> + 'static + Send + Sync + Copy, B: MiddlewareFunc<T> + 'static + Send + Sync + Copy, A: MiddlewareFunc<T> + 'static + Send + Sync + Copy> IntoMiddleware<T, (G, F, E, D, C, B, A)> for (G, F, E, D, C, B, A)
[src]
impl<T: 'static + Sync + Send, G: MiddlewareFunc<T> + 'static + Send + Sync + Copy, F: MiddlewareFunc<T> + 'static + Send + Sync + Copy, E: MiddlewareFunc<T> + 'static + Send + Sync + Copy, D: MiddlewareFunc<T> + 'static + Send + Sync + Copy, C: MiddlewareFunc<T> + 'static + Send + Sync + Copy, B: MiddlewareFunc<T> + 'static + Send + Sync + Copy, A: MiddlewareFunc<T> + 'static + Send + Sync + Copy> IntoMiddleware<T, (G, F, E, D, C, B, A)> for (G, F, E, D, C, B, A)
[src]impl<T: 'static + Sync + Send, F: MiddlewareFunc<T> + 'static + Send + Sync + Copy, E: MiddlewareFunc<T> + 'static + Send + Sync + Copy, D: MiddlewareFunc<T> + 'static + Send + Sync + Copy, C: MiddlewareFunc<T> + 'static + Send + Sync + Copy, B: MiddlewareFunc<T> + 'static + Send + Sync + Copy, A: MiddlewareFunc<T> + 'static + Send + Sync + Copy> IntoMiddleware<T, (F, E, D, C, B, A)> for (F, E, D, C, B, A)
[src]
impl<T: 'static + Sync + Send, F: MiddlewareFunc<T> + 'static + Send + Sync + Copy, E: MiddlewareFunc<T> + 'static + Send + Sync + Copy, D: MiddlewareFunc<T> + 'static + Send + Sync + Copy, C: MiddlewareFunc<T> + 'static + Send + Sync + Copy, B: MiddlewareFunc<T> + 'static + Send + Sync + Copy, A: MiddlewareFunc<T> + 'static + Send + Sync + Copy> IntoMiddleware<T, (F, E, D, C, B, A)> for (F, E, D, C, B, A)
[src]impl<T: 'static + Sync + Send, E: MiddlewareFunc<T> + 'static + Send + Sync + Copy, D: MiddlewareFunc<T> + 'static + Send + Sync + Copy, C: MiddlewareFunc<T> + 'static + Send + Sync + Copy, B: MiddlewareFunc<T> + 'static + Send + Sync + Copy, A: MiddlewareFunc<T> + 'static + Send + Sync + Copy> IntoMiddleware<T, (E, D, C, B, A)> for (E, D, C, B, A)
[src]
impl<T: 'static + Sync + Send, E: MiddlewareFunc<T> + 'static + Send + Sync + Copy, D: MiddlewareFunc<T> + 'static + Send + Sync + Copy, C: MiddlewareFunc<T> + 'static + Send + Sync + Copy, B: MiddlewareFunc<T> + 'static + Send + Sync + Copy, A: MiddlewareFunc<T> + 'static + Send + Sync + Copy> IntoMiddleware<T, (E, D, C, B, A)> for (E, D, C, B, A)
[src]impl<T: 'static + Sync + Send, D: MiddlewareFunc<T> + 'static + Send + Sync + Copy, C: MiddlewareFunc<T> + 'static + Send + Sync + Copy, B: MiddlewareFunc<T> + 'static + Send + Sync + Copy, A: MiddlewareFunc<T> + 'static + Send + Sync + Copy> IntoMiddleware<T, (D, C, B, A)> for (D, C, B, A)
[src]
impl<T: 'static + Sync + Send, D: MiddlewareFunc<T> + 'static + Send + Sync + Copy, C: MiddlewareFunc<T> + 'static + Send + Sync + Copy, B: MiddlewareFunc<T> + 'static + Send + Sync + Copy, A: MiddlewareFunc<T> + 'static + Send + Sync + Copy> IntoMiddleware<T, (D, C, B, A)> for (D, C, B, A)
[src]impl<T: 'static + Sync + Send, C: MiddlewareFunc<T> + 'static + Send + Sync + Copy, B: MiddlewareFunc<T> + 'static + Send + Sync + Copy, A: MiddlewareFunc<T> + 'static + Send + Sync + Copy> IntoMiddleware<T, (C, B, A)> for (C, B, A)
[src]
impl<T: 'static + Sync + Send, C: MiddlewareFunc<T> + 'static + Send + Sync + Copy, B: MiddlewareFunc<T> + 'static + Send + Sync + Copy, A: MiddlewareFunc<T> + 'static + Send + Sync + Copy> IntoMiddleware<T, (C, B, A)> for (C, B, A)
[src]