pub fn timed<F: Future>( job: F, timeout: Duration, ) -> impl Future<Output = Result<F::Output, Expired<F, Timer>>>
Run future in timed fashion using default Platform timer.