pub struct TestSuccess<T> {
pub iterations: usize,
pub config: TestConfig,
pub stats: Option<GenerationStats>,
/* private fields */
}Expand description
Information about a successful test run
Fields§
§iterations: usizeNumber of iterations completed
config: TestConfigTest configuration used
stats: Option<GenerationStats>Optional statistics about generated values
Implementations§
Source§impl<T> TestSuccess<T>
impl<T> TestSuccess<T>
Sourcepub fn new(
iterations: usize,
config: TestConfig,
stats: Option<GenerationStats>,
) -> Self
pub fn new( iterations: usize, config: TestConfig, stats: Option<GenerationStats>, ) -> Self
Create a new TestSuccess instance
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for TestSuccess<T>
impl<T> !RefUnwindSafe for TestSuccess<T>
impl<T> Send for TestSuccess<T>where
T: Send,
impl<T> Sync for TestSuccess<T>where
T: Sync,
impl<T> Unpin for TestSuccess<T>where
T: Unpin,
impl<T> !UnwindSafe for TestSuccess<T>
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