pub trait MultithreadedTestResult: Sized {
// Required methods
fn run<F: 'static + Sync + Fn(usize) -> Fut, Fut: 'static + Send + Future<Output = Self>>(
test: F,
threads: usize,
cfg: Config,
) -> Self;
fn is_ok(&self) -> bool;
}
Expand description
Defines how to compose multiple test runs for a kind of test result in a multithreaded executor.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.