sleep

Function sleep 

Source
pub fn sleep(milliseconds: u32)
Expand description

Suspends the execution of the current thread until the time-out interval elapses.