pub struct TestOutcome {
pub error_type: ErrorType,
pub primary: (usize, usize),
pub secondary: (usize, usize),
pub key_error_trace: String,
pub failed_secondary_names: Vec<String>,
}Expand description
Test outcome with classified error type.
Fields§
§error_type: ErrorTypeError type classified from output
primary: (usize, usize)(passed, total) for primary test set
secondary: (usize, usize)(passed, total) for secondary/regression test set
key_error_trace: StringKey traceback or error message
failed_secondary_names: Vec<String>Names of failed secondary tests
Implementations§
Trait Implementations§
Source§impl Clone for TestOutcome
impl Clone for TestOutcome
Source§fn clone(&self) -> TestOutcome
fn clone(&self) -> TestOutcome
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 TestOutcome
impl RefUnwindSafe for TestOutcome
impl Send for TestOutcome
impl Sync for TestOutcome
impl Unpin for TestOutcome
impl UnsafeUnpin for TestOutcome
impl UnwindSafe for TestOutcome
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