Type Alias BoxedFn8

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

Type alias BoxedFn8 for Boxed FnOnce sync function with 8 arguments

Aliased Type§

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

Trait Implementations§

Source§

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

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

Source§

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