pub fn timeout<F>(duration: Duration, future: F) -> Timeout<F::IntoFuture>where
F: IntoFuture,Expand description
Will timeout for the simulated duration.
pub fn timeout<F>(duration: Duration, future: F) -> Timeout<F::IntoFuture>where
F: IntoFuture,Will timeout for the simulated duration.