pub fn sleep(duration: Duration)
Sleeps the current thread a period of time expressed in time::Duration.
time::Duration