Skip to main content

sleep

Function sleep 

Source
pub fn sleep(duration: Duration)
Expand description

Sleeps the current thread a period of time expressed in time::Duration.