pub trait TimeoutExt: IntoFuture + Sized {
// Provided method
fn within(self, timeout: Duration) -> impl Future<Output = Self::Output> { ... }
}Expand description
Bound how long a test is willing to wait on a future
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".