[][src]Function safina_timer::sleep_for

pub fn sleep_for(duration: Duration) -> SleepFuture

Notable traits for SleepFuture

impl Future for SleepFuture type Output = Result<(), TimerThreadNotStarted>;

Returns a future that completes duration time from now.