Type Alias function_compose::BoxedFn7

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

Type alias BoxedFn7 for Boxed FnOnce sync function with 7 arguments

Aliased Type§

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

Trait Implementations§

source§

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

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

source§

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