pub struct ParallelResult {
pub workers: Vec<WorkerResult>,
pub merged: TestRunResult,
pub wall_time: Duration,
pub num_workers: usize,
pub had_cancellation: bool,
}Expand description
Aggregated result from all parallel workers.
Fields§
§workers: Vec<WorkerResult>Individual worker results
merged: TestRunResultMerged result from all workers
wall_time: DurationTotal wall time (max of all workers)
num_workers: usizeNumber of workers used
had_cancellation: boolWhether any worker was cancelled
Trait Implementations§
Source§impl Clone for ParallelResult
impl Clone for ParallelResult
Source§fn clone(&self) -> ParallelResult
fn clone(&self) -> ParallelResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ParallelResult
impl RefUnwindSafe for ParallelResult
impl Send for ParallelResult
impl Sync for ParallelResult
impl Unpin for ParallelResult
impl UnsafeUnpin for ParallelResult
impl UnwindSafe for ParallelResult
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more