Function combine_param

Source
pub fn combine_param<R, T, E>(
    t: T,
) -> impl FnOnce(Result<R, E>) -> Pin<Box<dyn Future<Output = Result<(R, T), E>> + Sync + Send>>
where R: Sized + 'static + Sync + Send, T: Sized + 'static + Sync + Send, E: Sized + 'static + Debug + Sync + Send,