pub struct WorkPartition {
pub worker_id: usize,
pub test_groups: Vec<TestGroup>,
}Expand description
A partition of work to be executed by a single worker.
Fields§
§worker_id: usizeWorker index (0-based)
test_groups: Vec<TestGroup>Suite name to test name mapping for this partition
Implementations§
Source§impl WorkPartition
impl WorkPartition
Trait Implementations§
Source§impl Clone for WorkPartition
impl Clone for WorkPartition
Source§fn clone(&self) -> WorkPartition
fn clone(&self) -> WorkPartition
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 WorkPartition
impl RefUnwindSafe for WorkPartition
impl Send for WorkPartition
impl Sync for WorkPartition
impl Unpin for WorkPartition
impl UnsafeUnpin for WorkPartition
impl UnwindSafe for WorkPartition
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