pub fn sleep(duration: Duration) -> Delay
Notable traits for Delay
impl Future for Delay type Output = Result<(), IoError>;
Expand description

Create a Future that completes in duration from now.