Type Alias BoxedAsyncFn7

Source
pub type BoxedAsyncFn7<'a, T1, T2, T3, T4, T5, T6, T7, T8, E1> = Box<dyn FnOnce(T1, T2, T3, T4, T5, T6, T7) -> BoxFuture<'a, Result<T8, E1>> + Send + Sync + 'a>;
Expand description

Type alias BoxedAsyncFn7 for Boxed FnOnce async function7 arguments

Aliased Type§

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

Trait Implementations§

Source§

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

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

Source§

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