pub type BoxedAsyncFn3<'a, T1, T2, T3, T4, E1> = Box<dyn FnOnce(T1, T2, T3) -> BoxFuture<'a, Result<T4, E1>> + Send + Sync + 'a>;
Expand description
Type alias BoxedAsyncFn3 for Boxed FnOnce async function3 arguments
Aliased Type§
struct BoxedAsyncFn3<'a, T1, T2, T3, T4, E1>(/* private fields */);
Trait Implementations§
Source§impl<'a, T1, T2, T3, T4, E1> Injector<T3, Box<dyn FnOnce(T1, T2) -> Pin<Box<dyn Future<Output = Result<T4, E1>> + Send + 'a>> + Sync + Send + 'a>> for BoxedAsyncFn3<'a, T1, T2, T3, T4, E1>
Injector implementation for a given async function that accepts 2 + 1 arguments and returns a function with 2 arguments
impl<'a, T1, T2, T3, T4, E1> Injector<T3, Box<dyn FnOnce(T1, T2) -> Pin<Box<dyn Future<Output = Result<T4, E1>> + Send + 'a>> + Sync + Send + 'a>> for BoxedAsyncFn3<'a, T1, T2, T3, T4, E1>
Injector implementation for a given async function that accepts 2 + 1 arguments and returns a function with 2 arguments