sleep

Function sleep 

Source
pub fn sleep(dur: Duration)
Expand description

Blocks the current thread for a given duration.