Type Alias function_compose::BoxedFn3

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

Type alias BoxedFn3 for Boxed FnOnce sync function with 3 arguments

Aliased Type§

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

Trait Implementations§

source§

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

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

source§

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