async_timer

Function timed

source
pub fn timed<'a, F: Future>(
    fut: Pin<&'a mut F>,
    timeout: Duration,
) -> Timed<'a, F, Platform> 
Expand description

Creates timed future with default Platform timer.