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 amount of time.