pub fn sleep(duration: Duration) -> DelayⓘNotable traits for Delayimpl Future for Delay type Output = Result<(), IoError>;
impl Future for Delay type Output = Result<(), IoError>;
Create a Future that completes in duration from now.
duration