async_sleep::sleep

Function sleep_until

Source
pub fn sleep_until<SLEEP>(deadline: Instant) -> impl Future<Output = ()>
where SLEEP: Sleepble,