Function function_compose::lift_async_fn1
source ยท pub fn lift_async_fn1<'a, T1, T2, F: FnOnce(T1) -> BoxFuture<'a, Result<T2, FnError>> + Send + Sync + 'a>(
f: F,
) -> BoxedAsyncFn1<'a, T1, T2>Expand description
Function to box FnOnce sync function with 1 aguments and coerce it to BoxedAsyncFn1