sleep

Function sleep 

Source
pub async fn sleep(duration: impl Into<Duration>)
Expand description

Sleep the current thread for a given duration.