Type Alias function_compose::BoxedAsyncFn5

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

Type alias BoxedAsyncFn5 for Boxed FnOnce async function5 arguments

Aliased Type§

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

Trait Implementations§

source§

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

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

source§

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