pub async fn assert_completes_within<T, F>(timeout: Duration, future: F) -> Twhere
F: Future<Output = T>,Expand description
Assert that an async operation completes within a timeout.
ยงPanics
Panics if the future does not complete within the timeout.