futures_time::task

Function sleep_until

Source
pub fn sleep_until(deadline: Instant) -> SleepUntil 
Expand description

Sleeps until the specified instant.