Type Alias function_compose::BoxedAsyncFn6

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

Type alias BoxedAsyncFn6 for Boxed FnOnce async function6 arguments

Aliased Type§

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

Trait Implementations§

source§

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

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

source§

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