sleep

Function sleep 

Source
pub fn sleep(duration: Duration) -> Sleep 
Expand description

Creates a new future that will complete after the given duration.