pub struct WorkerResult {
pub worker_id: usize,
pub result: TestRunResult,
pub wall_time: Duration,
pub cancelled: bool,
}Expand description
Result from a single parallel worker.
Fields§
§worker_id: usizeWorker index
result: TestRunResultTest results from this worker
wall_time: DurationWall time for this worker
cancelled: boolWhether this worker was cancelled due to fail-fast
Trait Implementations§
Source§impl Clone for WorkerResult
impl Clone for WorkerResult
Source§fn clone(&self) -> WorkerResult
fn clone(&self) -> WorkerResult
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 WorkerResult
impl RefUnwindSafe for WorkerResult
impl Send for WorkerResult
impl Sync for WorkerResult
impl Unpin for WorkerResult
impl UnsafeUnpin for WorkerResult
impl UnwindSafe for WorkerResult
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