pub fn timed<'a, F: Future>( fut: Pin<&'a mut F>, timeout: Duration, ) -> Timed<'a, F, Platform> ⓘ
Creates timed future with default Platform timer.