Type Alias function_compose::BoxedFn4

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

Type alias BoxedFn4 for Boxed FnOnce sync function with 4 arguments

Aliased Type§

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

Trait Implementations§

source§

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

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

source§

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