Skip to main content

sleep

Function sleep 

Source
pub fn sleep(dur: Duration)
Expand description

Puts the current thread to sleep for at least the specified duration.