pub struct ParallelPropertyTest<T, G, P> { /* private fields */ }Expand description
Parallel property test executor
Implementations§
Source§impl<T, G, P> ParallelPropertyTest<T, G, P>
impl<T, G, P> ParallelPropertyTest<T, G, P>
Sourcepub fn new(
generator: G,
property: P,
config: TestConfig,
parallel_config: ParallelConfig,
) -> Self
pub fn new( generator: G, property: P, config: TestConfig, parallel_config: ParallelConfig, ) -> Self
Create a new parallel property test
Sourcepub fn run(self) -> PropertyResult<T>
pub fn run(self) -> PropertyResult<T>
Execute the property test in parallel
Auto Trait Implementations§
impl<T, G, P> Freeze for ParallelPropertyTest<T, G, P>
impl<T, G, P> !RefUnwindSafe for ParallelPropertyTest<T, G, P>
impl<T, G, P> Send for ParallelPropertyTest<T, G, P>
impl<T, G, P> Sync for ParallelPropertyTest<T, G, P>
impl<T, G, P> Unpin for ParallelPropertyTest<T, G, P>where
T: Unpin,
impl<T, G, P> !UnwindSafe for ParallelPropertyTest<T, G, P>
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