Function sleep
pub fn sleep(duration: Duration)Available on crate feature
threading only.Expand description
Put the current thread to sleep for the given duration.
pub fn sleep(duration: Duration)threading only.Put the current thread to sleep for the given duration.