Function test_harness::run_singlethreaded_test
source · pub fn run_singlethreaded_test<F, Fut, R>(test: F) -> Rwhere
F: 'static + Send + Sync + Fn(usize) -> Fut,
Fut: 'static + Future<Output = R>,
R: TestResult,
Expand description
Runs a test in an executor, potentially repeatedly and concurrently