rama::http::service::web

Trait EndpointServiceFn

pub trait EndpointServiceFn<S, T>:
    Sealed<S, T>
    + Clone
    + Send
    + Sync
    + 'static { }
Expand description

rama_core::Service implemented for functions taking extractors.

Object Safety§

This trait is not object safe.

Implementors§

§

impl<F, R, O, S> EndpointServiceFn<S, (F, R, O, (), Context<S>)> for F
where F: Fn(Context<S>) -> R + Clone + Send + Sync + 'static, R: Future<Output = O> + Send + 'static, O: IntoResponse + Send + Sync + 'static, S: Clone + Send + Sync + 'static,

§

impl<F, R, O, S> EndpointServiceFn<S, (F, R, O)> for F
where F: Fn() -> R + Clone + Send + Sync + 'static, R: Future<Output = O> + Send + 'static, O: IntoResponse + Send + Sync + 'static, S: Clone + Send + Sync + 'static,

§

impl<F, R, O, S, I> EndpointServiceFn<S, (F, R, O, (), (), I)> for F
where F: Fn(I) -> R + Clone + Send + Sync + 'static, R: Future<Output = O> + Send + 'static, O: IntoResponse + Send + Sync + 'static, S: Clone + Send + Sync + 'static, I: FromRequest,

§

impl<F, R, O, S, I> EndpointServiceFn<S, (F, R, O, (), Context<S>, I)> for F
where F: Fn(Context<S>, I) -> R + Clone + Send + Sync + 'static, R: Future<Output = O> + Send + 'static, O: IntoResponse + Send + Sync + 'static, S: Clone + Send + Sync + 'static, I: FromRequest,

§

impl<F, R, O, S, T1> EndpointServiceFn<S, (F, R, O, (T1,))> for F
where F: Fn(T1) -> R + Clone + Send + Sync + 'static, R: Future<Output = O> + Send + 'static, O: IntoResponse + Send + Sync + 'static, S: Clone + Send + Sync + 'static, T1: FromRequestContextRefPair<S>,

§

impl<F, R, O, S, T1> EndpointServiceFn<S, (F, R, O, (T1,), Context<S>)> for F
where F: Fn(T1, Context<S>) -> R + Clone + Send + Sync + 'static, R: Future<Output = O> + Send + 'static, O: IntoResponse + Send + Sync + 'static, S: Clone + Send + Sync + 'static, T1: FromRequestContextRefPair<S>,

§

impl<F, R, O, S, T1, I> EndpointServiceFn<S, (F, R, O, (T1,), (), I)> for F
where F: Fn(T1, I) -> R + Clone + Send + Sync + 'static, R: Future<Output = O> + Send + 'static, O: IntoResponse + Send + Sync + 'static, S: Clone + Send + Sync + 'static, T1: FromRequestContextRefPair<S>, I: FromRequest,

§

impl<F, R, O, S, T1, I> EndpointServiceFn<S, (F, R, O, (T1,), Context<S>, I)> for F
where F: Fn(T1, Context<S>, I) -> R + Clone + Send + Sync + 'static, R: Future<Output = O> + Send + 'static, O: IntoResponse + Send + Sync + 'static, S: Clone + Send + Sync + 'static, T1: FromRequestContextRefPair<S>, I: FromRequest,

§

impl<F, R, O, S, T1, T2> EndpointServiceFn<S, (F, R, O, (T1, T2))> for F
where F: Fn(T1, T2) -> R + Clone + Send + Sync + 'static, R: Future<Output = O> + Send + 'static, O: IntoResponse + Send + Sync + 'static, S: Clone + Send + Sync + 'static, T1: FromRequestContextRefPair<S>, T2: FromRequestContextRefPair<S>,

§

impl<F, R, O, S, T1, T2> EndpointServiceFn<S, (F, R, O, (T1, T2), Context<S>)> for F
where F: Fn(T1, T2, Context<S>) -> R + Clone + Send + Sync + 'static, R: Future<Output = O> + Send + 'static, O: IntoResponse + Send + Sync + 'static, S: Clone + Send + Sync + 'static, T1: FromRequestContextRefPair<S>, T2: FromRequestContextRefPair<S>,

§

impl<F, R, O, S, T1, T2, I> EndpointServiceFn<S, (F, R, O, (T1, T2), (), I)> for F
where F: Fn(T1, T2, I) -> R + Clone + Send + Sync + 'static, R: Future<Output = O> + Send + 'static, O: IntoResponse + Send + Sync + 'static, S: Clone + Send + Sync + 'static, T1: FromRequestContextRefPair<S>, T2: FromRequestContextRefPair<S>, I: FromRequest,

§

impl<F, R, O, S, T1, T2, I> EndpointServiceFn<S, (F, R, O, (T1, T2), Context<S>, I)> for F
where F: Fn(T1, T2, Context<S>, I) -> R + Clone + Send + Sync + 'static, R: Future<Output = O> + Send + 'static, O: IntoResponse + Send + Sync + 'static, S: Clone + Send + Sync + 'static, T1: FromRequestContextRefPair<S>, T2: FromRequestContextRefPair<S>, I: FromRequest,

§

impl<F, R, O, S, T1, T2, T3> EndpointServiceFn<S, (F, R, O, (T1, T2, T3))> for F
where F: Fn(T1, T2, T3) -> R + Clone + Send + Sync + 'static, R: Future<Output = O> + Send + 'static, O: IntoResponse + Send + Sync + 'static, S: Clone + Send + Sync + 'static, T1: FromRequestContextRefPair<S>, T2: FromRequestContextRefPair<S>, T3: FromRequestContextRefPair<S>,

§

impl<F, R, O, S, T1, T2, T3> EndpointServiceFn<S, (F, R, O, (T1, T2, T3), Context<S>)> for F
where F: Fn(T1, T2, T3, Context<S>) -> R + Clone + Send + Sync + 'static, R: Future<Output = O> + Send + 'static, O: IntoResponse + Send + Sync + 'static, S: Clone + Send + Sync + 'static, T1: FromRequestContextRefPair<S>, T2: FromRequestContextRefPair<S>, T3: FromRequestContextRefPair<S>,

§

impl<F, R, O, S, T1, T2, T3, I> EndpointServiceFn<S, (F, R, O, (T1, T2, T3), (), I)> for F
where F: Fn(T1, T2, T3, I) -> R + Clone + Send + Sync + 'static, R: Future<Output = O> + Send + 'static, O: IntoResponse + Send + Sync + 'static, S: Clone + Send + Sync + 'static, T1: FromRequestContextRefPair<S>, T2: FromRequestContextRefPair<S>, T3: FromRequestContextRefPair<S>, I: FromRequest,

§

impl<F, R, O, S, T1, T2, T3, I> EndpointServiceFn<S, (F, R, O, (T1, T2, T3), Context<S>, I)> for F
where F: Fn(T1, T2, T3, Context<S>, I) -> R + Clone + Send + Sync + 'static, R: Future<Output = O> + Send + 'static, O: IntoResponse + Send + Sync + 'static, S: Clone + Send + Sync + 'static, T1: FromRequestContextRefPair<S>, T2: FromRequestContextRefPair<S>, T3: FromRequestContextRefPair<S>, I: FromRequest,

§

impl<F, R, O, S, T1, T2, T3, T4> EndpointServiceFn<S, (F, R, O, (T1, T2, T3, T4))> for F
where F: Fn(T1, T2, T3, T4) -> R + Clone + Send + Sync + 'static, R: Future<Output = O> + Send + 'static, O: IntoResponse + Send + Sync + 'static, S: Clone + Send + Sync + 'static, T1: FromRequestContextRefPair<S>, T2: FromRequestContextRefPair<S>, T3: FromRequestContextRefPair<S>, T4: FromRequestContextRefPair<S>,

§

impl<F, R, O, S, T1, T2, T3, T4> EndpointServiceFn<S, (F, R, O, (T1, T2, T3, T4), Context<S>)> for F
where F: Fn(T1, T2, T3, T4, Context<S>) -> R + Clone + Send + Sync + 'static, R: Future<Output = O> + Send + 'static, O: IntoResponse + Send + Sync + 'static, S: Clone + Send + Sync + 'static, T1: FromRequestContextRefPair<S>, T2: FromRequestContextRefPair<S>, T3: FromRequestContextRefPair<S>, T4: FromRequestContextRefPair<S>,

§

impl<F, R, O, S, T1, T2, T3, T4, I> EndpointServiceFn<S, (F, R, O, (T1, T2, T3, T4), (), I)> for F
where F: Fn(T1, T2, T3, T4, I) -> R + Clone + Send + Sync + 'static, R: Future<Output = O> + Send + 'static, O: IntoResponse + Send + Sync + 'static, S: Clone + Send + Sync + 'static, T1: FromRequestContextRefPair<S>, T2: FromRequestContextRefPair<S>, T3: FromRequestContextRefPair<S>, T4: FromRequestContextRefPair<S>, I: FromRequest,

§

impl<F, R, O, S, T1, T2, T3, T4, I> EndpointServiceFn<S, (F, R, O, (T1, T2, T3, T4), Context<S>, I)> for F
where F: Fn(T1, T2, T3, T4, Context<S>, I) -> R + Clone + Send + Sync + 'static, R: Future<Output = O> + Send + 'static, O: IntoResponse + Send + Sync + 'static, S: Clone + Send + Sync + 'static, T1: FromRequestContextRefPair<S>, T2: FromRequestContextRefPair<S>, T3: FromRequestContextRefPair<S>, T4: FromRequestContextRefPair<S>, I: FromRequest,

§

impl<F, R, O, S, T1, T2, T3, T4, T5> EndpointServiceFn<S, (F, R, O, (T1, T2, T3, T4, T5))> for F
where F: Fn(T1, T2, T3, T4, T5) -> R + Clone + Send + Sync + 'static, R: Future<Output = O> + Send + 'static, O: IntoResponse + Send + Sync + 'static, S: Clone + Send + Sync + 'static, T1: FromRequestContextRefPair<S>, T2: FromRequestContextRefPair<S>, T3: FromRequestContextRefPair<S>, T4: FromRequestContextRefPair<S>, T5: FromRequestContextRefPair<S>,

§

impl<F, R, O, S, T1, T2, T3, T4, T5> EndpointServiceFn<S, (F, R, O, (T1, T2, T3, T4, T5), Context<S>)> for F
where F: Fn(T1, T2, T3, T4, T5, Context<S>) -> R + Clone + Send + Sync + 'static, R: Future<Output = O> + Send + 'static, O: IntoResponse + Send + Sync + 'static, S: Clone + Send + Sync + 'static, T1: FromRequestContextRefPair<S>, T2: FromRequestContextRefPair<S>, T3: FromRequestContextRefPair<S>, T4: FromRequestContextRefPair<S>, T5: FromRequestContextRefPair<S>,

§

impl<F, R, O, S, T1, T2, T3, T4, T5, I> EndpointServiceFn<S, (F, R, O, (T1, T2, T3, T4, T5), (), I)> for F
where F: Fn(T1, T2, T3, T4, T5, I) -> R + Clone + Send + Sync + 'static, R: Future<Output = O> + Send + 'static, O: IntoResponse + Send + Sync + 'static, S: Clone + Send + Sync + 'static, T1: FromRequestContextRefPair<S>, T2: FromRequestContextRefPair<S>, T3: FromRequestContextRefPair<S>, T4: FromRequestContextRefPair<S>, T5: FromRequestContextRefPair<S>, I: FromRequest,

§

impl<F, R, O, S, T1, T2, T3, T4, T5, I> EndpointServiceFn<S, (F, R, O, (T1, T2, T3, T4, T5), Context<S>, I)> for F
where F: Fn(T1, T2, T3, T4, T5, Context<S>, I) -> R + Clone + Send + Sync + 'static, R: Future<Output = O> + Send + 'static, O: IntoResponse + Send + Sync + 'static, S: Clone + Send + Sync + 'static, T1: FromRequestContextRefPair<S>, T2: FromRequestContextRefPair<S>, T3: FromRequestContextRefPair<S>, T4: FromRequestContextRefPair<S>, T5: FromRequestContextRefPair<S>, I: FromRequest,

§

impl<F, R, O, S, T1, T2, T3, T4, T5, T6> EndpointServiceFn<S, (F, R, O, (T1, T2, T3, T4, T5, T6))> for F
where F: Fn(T1, T2, T3, T4, T5, T6) -> R + Clone + Send + Sync + 'static, R: Future<Output = O> + Send + 'static, O: IntoResponse + Send + Sync + 'static, S: Clone + Send + Sync + 'static, T1: FromRequestContextRefPair<S>, T2: FromRequestContextRefPair<S>, T3: FromRequestContextRefPair<S>, T4: FromRequestContextRefPair<S>, T5: FromRequestContextRefPair<S>, T6: FromRequestContextRefPair<S>,

§

impl<F, R, O, S, T1, T2, T3, T4, T5, T6> EndpointServiceFn<S, (F, R, O, (T1, T2, T3, T4, T5, T6), Context<S>)> for F
where F: Fn(T1, T2, T3, T4, T5, T6, Context<S>) -> R + Clone + Send + Sync + 'static, R: Future<Output = O> + Send + 'static, O: IntoResponse + Send + Sync + 'static, S: Clone + Send + Sync + 'static, T1: FromRequestContextRefPair<S>, T2: FromRequestContextRefPair<S>, T3: FromRequestContextRefPair<S>, T4: FromRequestContextRefPair<S>, T5: FromRequestContextRefPair<S>, T6: FromRequestContextRefPair<S>,

§

impl<F, R, O, S, T1, T2, T3, T4, T5, T6, I> EndpointServiceFn<S, (F, R, O, (T1, T2, T3, T4, T5, T6), (), I)> for F
where F: Fn(T1, T2, T3, T4, T5, T6, I) -> R + Clone + Send + Sync + 'static, R: Future<Output = O> + Send + 'static, O: IntoResponse + Send + Sync + 'static, S: Clone + Send + Sync + 'static, T1: FromRequestContextRefPair<S>, T2: FromRequestContextRefPair<S>, T3: FromRequestContextRefPair<S>, T4: FromRequestContextRefPair<S>, T5: FromRequestContextRefPair<S>, T6: FromRequestContextRefPair<S>, I: FromRequest,

§

impl<F, R, O, S, T1, T2, T3, T4, T5, T6, I> EndpointServiceFn<S, (F, R, O, (T1, T2, T3, T4, T5, T6), Context<S>, I)> for F
where F: Fn(T1, T2, T3, T4, T5, T6, Context<S>, I) -> R + Clone + Send + Sync + 'static, R: Future<Output = O> + Send + 'static, O: IntoResponse + Send + Sync + 'static, S: Clone + Send + Sync + 'static, T1: FromRequestContextRefPair<S>, T2: FromRequestContextRefPair<S>, T3: FromRequestContextRefPair<S>, T4: FromRequestContextRefPair<S>, T5: FromRequestContextRefPair<S>, T6: FromRequestContextRefPair<S>, I: FromRequest,

§

impl<F, R, O, S, T1, T2, T3, T4, T5, T6, T7> EndpointServiceFn<S, (F, R, O, (T1, T2, T3, T4, T5, T6, T7))> for F
where F: Fn(T1, T2, T3, T4, T5, T6, T7) -> R + Clone + Send + Sync + 'static, R: Future<Output = O> + Send + 'static, O: IntoResponse + Send + Sync + 'static, S: Clone + Send + Sync + 'static, T1: FromRequestContextRefPair<S>, T2: FromRequestContextRefPair<S>, T3: FromRequestContextRefPair<S>, T4: FromRequestContextRefPair<S>, T5: FromRequestContextRefPair<S>, T6: FromRequestContextRefPair<S>, T7: FromRequestContextRefPair<S>,

§

impl<F, R, O, S, T1, T2, T3, T4, T5, T6, T7> EndpointServiceFn<S, (F, R, O, (T1, T2, T3, T4, T5, T6, T7), Context<S>)> for F
where F: Fn(T1, T2, T3, T4, T5, T6, T7, Context<S>) -> R + Clone + Send + Sync + 'static, R: Future<Output = O> + Send + 'static, O: IntoResponse + Send + Sync + 'static, S: Clone + Send + Sync + 'static, T1: FromRequestContextRefPair<S>, T2: FromRequestContextRefPair<S>, T3: FromRequestContextRefPair<S>, T4: FromRequestContextRefPair<S>, T5: FromRequestContextRefPair<S>, T6: FromRequestContextRefPair<S>, T7: FromRequestContextRefPair<S>,

§

impl<F, R, O, S, T1, T2, T3, T4, T5, T6, T7, I> EndpointServiceFn<S, (F, R, O, (T1, T2, T3, T4, T5, T6, T7), (), I)> for F
where F: Fn(T1, T2, T3, T4, T5, T6, T7, I) -> R + Clone + Send + Sync + 'static, R: Future<Output = O> + Send + 'static, O: IntoResponse + Send + Sync + 'static, S: Clone + Send + Sync + 'static, T1: FromRequestContextRefPair<S>, T2: FromRequestContextRefPair<S>, T3: FromRequestContextRefPair<S>, T4: FromRequestContextRefPair<S>, T5: FromRequestContextRefPair<S>, T6: FromRequestContextRefPair<S>, T7: FromRequestContextRefPair<S>, I: FromRequest,

§

impl<F, R, O, S, T1, T2, T3, T4, T5, T6, T7, I> EndpointServiceFn<S, (F, R, O, (T1, T2, T3, T4, T5, T6, T7), Context<S>, I)> for F
where F: Fn(T1, T2, T3, T4, T5, T6, T7, Context<S>, I) -> R + Clone + Send + Sync + 'static, R: Future<Output = O> + Send + 'static, O: IntoResponse + Send + Sync + 'static, S: Clone + Send + Sync + 'static, T1: FromRequestContextRefPair<S>, T2: FromRequestContextRefPair<S>, T3: FromRequestContextRefPair<S>, T4: FromRequestContextRefPair<S>, T5: FromRequestContextRefPair<S>, T6: FromRequestContextRefPair<S>, T7: FromRequestContextRefPair<S>, I: FromRequest,

§

impl<F, R, O, S, T1, T2, T3, T4, T5, T6, T7, T8> EndpointServiceFn<S, (F, R, O, (T1, T2, T3, T4, T5, T6, T7, T8))> for F
where F: Fn(T1, T2, T3, T4, T5, T6, T7, T8) -> R + Clone + Send + Sync + 'static, R: Future<Output = O> + Send + 'static, O: IntoResponse + Send + Sync + 'static, S: Clone + Send + Sync + 'static, T1: FromRequestContextRefPair<S>, T2: FromRequestContextRefPair<S>, T3: FromRequestContextRefPair<S>, T4: FromRequestContextRefPair<S>, T5: FromRequestContextRefPair<S>, T6: FromRequestContextRefPair<S>, T7: FromRequestContextRefPair<S>, T8: FromRequestContextRefPair<S>,

§

impl<F, R, O, S, T1, T2, T3, T4, T5, T6, T7, T8> EndpointServiceFn<S, (F, R, O, (T1, T2, T3, T4, T5, T6, T7, T8), Context<S>)> for F
where F: Fn(T1, T2, T3, T4, T5, T6, T7, T8, Context<S>) -> R + Clone + Send + Sync + 'static, R: Future<Output = O> + Send + 'static, O: IntoResponse + Send + Sync + 'static, S: Clone + Send + Sync + 'static, T1: FromRequestContextRefPair<S>, T2: FromRequestContextRefPair<S>, T3: FromRequestContextRefPair<S>, T4: FromRequestContextRefPair<S>, T5: FromRequestContextRefPair<S>, T6: FromRequestContextRefPair<S>, T7: FromRequestContextRefPair<S>, T8: FromRequestContextRefPair<S>,

§

impl<F, R, O, S, T1, T2, T3, T4, T5, T6, T7, T8, I> EndpointServiceFn<S, (F, R, O, (T1, T2, T3, T4, T5, T6, T7, T8), (), I)> for F
where F: Fn(T1, T2, T3, T4, T5, T6, T7, T8, I) -> R + Clone + Send + Sync + 'static, R: Future<Output = O> + Send + 'static, O: IntoResponse + Send + Sync + 'static, S: Clone + Send + Sync + 'static, T1: FromRequestContextRefPair<S>, T2: FromRequestContextRefPair<S>, T3: FromRequestContextRefPair<S>, T4: FromRequestContextRefPair<S>, T5: FromRequestContextRefPair<S>, T6: FromRequestContextRefPair<S>, T7: FromRequestContextRefPair<S>, T8: FromRequestContextRefPair<S>, I: FromRequest,

§

impl<F, R, O, S, T1, T2, T3, T4, T5, T6, T7, T8, I> EndpointServiceFn<S, (F, R, O, (T1, T2, T3, T4, T5, T6, T7, T8), Context<S>, I)> for F
where F: Fn(T1, T2, T3, T4, T5, T6, T7, T8, Context<S>, I) -> R + Clone + Send + Sync + 'static, R: Future<Output = O> + Send + 'static, O: IntoResponse + Send + Sync + 'static, S: Clone + Send + Sync + 'static, T1: FromRequestContextRefPair<S>, T2: FromRequestContextRefPair<S>, T3: FromRequestContextRefPair<S>, T4: FromRequestContextRefPair<S>, T5: FromRequestContextRefPair<S>, T6: FromRequestContextRefPair<S>, T7: FromRequestContextRefPair<S>, T8: FromRequestContextRefPair<S>, I: FromRequest,

§

impl<F, R, O, S, T1, T2, T3, T4, T5, T6, T7, T8, T9> EndpointServiceFn<S, (F, R, O, (T1, T2, T3, T4, T5, T6, T7, T8, T9))> for F
where F: Fn(T1, T2, T3, T4, T5, T6, T7, T8, T9) -> R + Clone + Send + Sync + 'static, R: Future<Output = O> + Send + 'static, O: IntoResponse + Send + Sync + 'static, S: Clone + Send + Sync + 'static, T1: FromRequestContextRefPair<S>, T2: FromRequestContextRefPair<S>, T3: FromRequestContextRefPair<S>, T4: FromRequestContextRefPair<S>, T5: FromRequestContextRefPair<S>, T6: FromRequestContextRefPair<S>, T7: FromRequestContextRefPair<S>, T8: FromRequestContextRefPair<S>, T9: FromRequestContextRefPair<S>,

§

impl<F, R, O, S, T1, T2, T3, T4, T5, T6, T7, T8, T9> EndpointServiceFn<S, (F, R, O, (T1, T2, T3, T4, T5, T6, T7, T8, T9), Context<S>)> for F
where F: Fn(T1, T2, T3, T4, T5, T6, T7, T8, T9, Context<S>) -> R + Clone + Send + Sync + 'static, R: Future<Output = O> + Send + 'static, O: IntoResponse + Send + Sync + 'static, S: Clone + Send + Sync + 'static, T1: FromRequestContextRefPair<S>, T2: FromRequestContextRefPair<S>, T3: FromRequestContextRefPair<S>, T4: FromRequestContextRefPair<S>, T5: FromRequestContextRefPair<S>, T6: FromRequestContextRefPair<S>, T7: FromRequestContextRefPair<S>, T8: FromRequestContextRefPair<S>, T9: FromRequestContextRefPair<S>,

§

impl<F, R, O, S, T1, T2, T3, T4, T5, T6, T7, T8, T9, I> EndpointServiceFn<S, (F, R, O, (T1, T2, T3, T4, T5, T6, T7, T8, T9), (), I)> for F
where F: Fn(T1, T2, T3, T4, T5, T6, T7, T8, T9, I) -> R + Clone + Send + Sync + 'static, R: Future<Output = O> + Send + 'static, O: IntoResponse + Send + Sync + 'static, S: Clone + Send + Sync + 'static, T1: FromRequestContextRefPair<S>, T2: FromRequestContextRefPair<S>, T3: FromRequestContextRefPair<S>, T4: FromRequestContextRefPair<S>, T5: FromRequestContextRefPair<S>, T6: FromRequestContextRefPair<S>, T7: FromRequestContextRefPair<S>, T8: FromRequestContextRefPair<S>, T9: FromRequestContextRefPair<S>, I: FromRequest,

§

impl<F, R, O, S, T1, T2, T3, T4, T5, T6, T7, T8, T9, I> EndpointServiceFn<S, (F, R, O, (T1, T2, T3, T4, T5, T6, T7, T8, T9), Context<S>, I)> for F
where F: Fn(T1, T2, T3, T4, T5, T6, T7, T8, T9, Context<S>, I) -> R + Clone + Send + Sync + 'static, R: Future<Output = O> + Send + 'static, O: IntoResponse + Send + Sync + 'static, S: Clone + Send + Sync + 'static, T1: FromRequestContextRefPair<S>, T2: FromRequestContextRefPair<S>, T3: FromRequestContextRefPair<S>, T4: FromRequestContextRefPair<S>, T5: FromRequestContextRefPair<S>, T6: FromRequestContextRefPair<S>, T7: FromRequestContextRefPair<S>, T8: FromRequestContextRefPair<S>, T9: FromRequestContextRefPair<S>, I: FromRequest,

§

impl<F, R, O, S, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> EndpointServiceFn<S, (F, R, O, (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10))> for F
where F: Fn(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10) -> R + Clone + Send + Sync + 'static, R: Future<Output = O> + Send + 'static, O: IntoResponse + Send + Sync + 'static, S: Clone + Send + Sync + 'static, T1: FromRequestContextRefPair<S>, T2: FromRequestContextRefPair<S>, T3: FromRequestContextRefPair<S>, T4: FromRequestContextRefPair<S>, T5: FromRequestContextRefPair<S>, T6: FromRequestContextRefPair<S>, T7: FromRequestContextRefPair<S>, T8: FromRequestContextRefPair<S>, T9: FromRequestContextRefPair<S>, T10: FromRequestContextRefPair<S>,

§

impl<F, R, O, S, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> EndpointServiceFn<S, (F, R, O, (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10), Context<S>)> for F
where F: Fn(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, Context<S>) -> R + Clone + Send + Sync + 'static, R: Future<Output = O> + Send + 'static, O: IntoResponse + Send + Sync + 'static, S: Clone + Send + Sync + 'static, T1: FromRequestContextRefPair<S>, T2: FromRequestContextRefPair<S>, T3: FromRequestContextRefPair<S>, T4: FromRequestContextRefPair<S>, T5: FromRequestContextRefPair<S>, T6: FromRequestContextRefPair<S>, T7: FromRequestContextRefPair<S>, T8: FromRequestContextRefPair<S>, T9: FromRequestContextRefPair<S>, T10: FromRequestContextRefPair<S>,

§

impl<F, R, O, S, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, I> EndpointServiceFn<S, (F, R, O, (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10), (), I)> for F
where F: Fn(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, I) -> R + Clone + Send + Sync + 'static, R: Future<Output = O> + Send + 'static, O: IntoResponse + Send + Sync + 'static, S: Clone + Send + Sync + 'static, T1: FromRequestContextRefPair<S>, T2: FromRequestContextRefPair<S>, T3: FromRequestContextRefPair<S>, T4: FromRequestContextRefPair<S>, T5: FromRequestContextRefPair<S>, T6: FromRequestContextRefPair<S>, T7: FromRequestContextRefPair<S>, T8: FromRequestContextRefPair<S>, T9: FromRequestContextRefPair<S>, T10: FromRequestContextRefPair<S>, I: FromRequest,

§

impl<F, R, O, S, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, I> EndpointServiceFn<S, (F, R, O, (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10), Context<S>, I)> for F
where F: Fn(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, Context<S>, I) -> R + Clone + Send + Sync + 'static, R: Future<Output = O> + Send + 'static, O: IntoResponse + Send + Sync + 'static, S: Clone + Send + Sync + 'static, T1: FromRequestContextRefPair<S>, T2: FromRequestContextRefPair<S>, T3: FromRequestContextRefPair<S>, T4: FromRequestContextRefPair<S>, T5: FromRequestContextRefPair<S>, T6: FromRequestContextRefPair<S>, T7: FromRequestContextRefPair<S>, T8: FromRequestContextRefPair<S>, T9: FromRequestContextRefPair<S>, T10: FromRequestContextRefPair<S>, I: FromRequest,

§

impl<F, R, O, S, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> EndpointServiceFn<S, (F, R, O, (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11))> for F
where F: Fn(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) -> R + Clone + Send + Sync + 'static, R: Future<Output = O> + Send + 'static, O: IntoResponse + Send + Sync + 'static, S: Clone + Send + Sync + 'static, T1: FromRequestContextRefPair<S>, T2: FromRequestContextRefPair<S>, T3: FromRequestContextRefPair<S>, T4: FromRequestContextRefPair<S>, T5: FromRequestContextRefPair<S>, T6: FromRequestContextRefPair<S>, T7: FromRequestContextRefPair<S>, T8: FromRequestContextRefPair<S>, T9: FromRequestContextRefPair<S>, T10: FromRequestContextRefPair<S>, T11: FromRequestContextRefPair<S>,

§

impl<F, R, O, S, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> EndpointServiceFn<S, (F, R, O, (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11), Context<S>)> for F
where F: Fn(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, Context<S>) -> R + Clone + Send + Sync + 'static, R: Future<Output = O> + Send + 'static, O: IntoResponse + Send + Sync + 'static, S: Clone + Send + Sync + 'static, T1: FromRequestContextRefPair<S>, T2: FromRequestContextRefPair<S>, T3: FromRequestContextRefPair<S>, T4: FromRequestContextRefPair<S>, T5: FromRequestContextRefPair<S>, T6: FromRequestContextRefPair<S>, T7: FromRequestContextRefPair<S>, T8: FromRequestContextRefPair<S>, T9: FromRequestContextRefPair<S>, T10: FromRequestContextRefPair<S>, T11: FromRequestContextRefPair<S>,

§

impl<F, R, O, S, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, I> EndpointServiceFn<S, (F, R, O, (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11), (), I)> for F
where F: Fn(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, I) -> R + Clone + Send + Sync + 'static, R: Future<Output = O> + Send + 'static, O: IntoResponse + Send + Sync + 'static, S: Clone + Send + Sync + 'static, T1: FromRequestContextRefPair<S>, T2: FromRequestContextRefPair<S>, T3: FromRequestContextRefPair<S>, T4: FromRequestContextRefPair<S>, T5: FromRequestContextRefPair<S>, T6: FromRequestContextRefPair<S>, T7: FromRequestContextRefPair<S>, T8: FromRequestContextRefPair<S>, T9: FromRequestContextRefPair<S>, T10: FromRequestContextRefPair<S>, T11: FromRequestContextRefPair<S>, I: FromRequest,

§

impl<F, R, O, S, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, I> EndpointServiceFn<S, (F, R, O, (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11), Context<S>, I)> for F
where F: Fn(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, Context<S>, I) -> R + Clone + Send + Sync + 'static, R: Future<Output = O> + Send + 'static, O: IntoResponse + Send + Sync + 'static, S: Clone + Send + Sync + 'static, T1: FromRequestContextRefPair<S>, T2: FromRequestContextRefPair<S>, T3: FromRequestContextRefPair<S>, T4: FromRequestContextRefPair<S>, T5: FromRequestContextRefPair<S>, T6: FromRequestContextRefPair<S>, T7: FromRequestContextRefPair<S>, T8: FromRequestContextRefPair<S>, T9: FromRequestContextRefPair<S>, T10: FromRequestContextRefPair<S>, T11: FromRequestContextRefPair<S>, I: FromRequest,

§

impl<F, R, O, S, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12> EndpointServiceFn<S, (F, R, O, (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12))> for F
where F: Fn(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) -> R + Clone + Send + Sync + 'static, R: Future<Output = O> + Send + 'static, O: IntoResponse + Send + Sync + 'static, S: Clone + Send + Sync + 'static, T1: FromRequestContextRefPair<S>, T2: FromRequestContextRefPair<S>, T3: FromRequestContextRefPair<S>, T4: FromRequestContextRefPair<S>, T5: FromRequestContextRefPair<S>, T6: FromRequestContextRefPair<S>, T7: FromRequestContextRefPair<S>, T8: FromRequestContextRefPair<S>, T9: FromRequestContextRefPair<S>, T10: FromRequestContextRefPair<S>, T11: FromRequestContextRefPair<S>, T12: FromRequestContextRefPair<S>,

§

impl<F, R, O, S, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12> EndpointServiceFn<S, (F, R, O, (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12), Context<S>)> for F
where F: Fn(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, Context<S>) -> R + Clone + Send + Sync + 'static, R: Future<Output = O> + Send + 'static, O: IntoResponse + Send + Sync + 'static, S: Clone + Send + Sync + 'static, T1: FromRequestContextRefPair<S>, T2: FromRequestContextRefPair<S>, T3: FromRequestContextRefPair<S>, T4: FromRequestContextRefPair<S>, T5: FromRequestContextRefPair<S>, T6: FromRequestContextRefPair<S>, T7: FromRequestContextRefPair<S>, T8: FromRequestContextRefPair<S>, T9: FromRequestContextRefPair<S>, T10: FromRequestContextRefPair<S>, T11: FromRequestContextRefPair<S>, T12: FromRequestContextRefPair<S>,

§

impl<F, R, O, S, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, I> EndpointServiceFn<S, (F, R, O, (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12), (), I)> for F
where F: Fn(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, I) -> R + Clone + Send + Sync + 'static, R: Future<Output = O> + Send + 'static, O: IntoResponse + Send + Sync + 'static, S: Clone + Send + Sync + 'static, T1: FromRequestContextRefPair<S>, T2: FromRequestContextRefPair<S>, T3: FromRequestContextRefPair<S>, T4: FromRequestContextRefPair<S>, T5: FromRequestContextRefPair<S>, T6: FromRequestContextRefPair<S>, T7: FromRequestContextRefPair<S>, T8: FromRequestContextRefPair<S>, T9: FromRequestContextRefPair<S>, T10: FromRequestContextRefPair<S>, T11: FromRequestContextRefPair<S>, T12: FromRequestContextRefPair<S>, I: FromRequest,

§

impl<F, R, O, S, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, I> EndpointServiceFn<S, (F, R, O, (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12), Context<S>, I)> for F
where F: Fn(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, Context<S>, I) -> R + Clone + Send + Sync + 'static, R: Future<Output = O> + Send + 'static, O: IntoResponse + Send + Sync + 'static, S: Clone + Send + Sync + 'static, T1: FromRequestContextRefPair<S>, T2: FromRequestContextRefPair<S>, T3: FromRequestContextRefPair<S>, T4: FromRequestContextRefPair<S>, T5: FromRequestContextRefPair<S>, T6: FromRequestContextRefPair<S>, T7: FromRequestContextRefPair<S>, T8: FromRequestContextRefPair<S>, T9: FromRequestContextRefPair<S>, T10: FromRequestContextRefPair<S>, T11: FromRequestContextRefPair<S>, T12: FromRequestContextRefPair<S>, I: FromRequest,