Type Alias function_compose::BoxedAsyncFn8

source ·
pub type BoxedAsyncFn8<'a, T1, T2, T3, T4, T5, T6, T7, T8, T9> = Box<dyn FnOnce(T1, T2, T3, T4, T5, T6, T7, T8) -> BoxFuture<'a, Result<T9, FnError>> + Send + Sync + 'a>;
Expand description

Type alias BoxedAsyncFn8 for Boxed FnOnce async function8 arguments

Aliased Type§

struct BoxedAsyncFn8<'a, T1, T2, T3, T4, T5, T6, T7, T8, T9>(/* private fields */);

Trait Implementations§

source§

impl<'a, T1, T2, T3, T4, T5, T6, T7, T8, T9> Injector<T8, Box<dyn FnOnce(T1, T2, T3, T4, T5, T6, T7) -> Pin<Box<dyn Future<Output = Result<T9, FnError>> + Send + 'a>> + Sync + Send + 'a>> for BoxedAsyncFn8<'a, T1, T2, T3, T4, T5, T6, T7, T8, T9>
where T1: 'a, T2: 'a, T3: 'a, T4: 'a, T5: 'a, T6: 'a, T7: 'a, T8: Send + Sync + 'a, T9: 'a,

Injector implementation for a given async function that accepts 7 + 1 arguments and returns a function with 7 arguments

source§

fn provide(self, a: T8) -> BoxedAsyncFn7<'a, T1, T2, T3, T4, T5, T6, T7, T9>