Function lift_sync_fn2

Source
pub fn lift_sync_fn2<'a, T1, T2, T3, E1, F: FnOnce(T1, T2) -> Result<T3, E1> + Send + Sync + 'a>(
    f: F,
) -> BoxedFn2<'a, T1, T2, T3, E1>
Expand description

Function to box FnOnce sync function with 2 aguments and coerce it to BoxedFn2