pub enum State {
Timeout,
Correct,
Skip,
Missing(String),
Mismatch(String, String),
}
Expand description
Track the state of TestResult.
Variants§
Timeout
The test timed out.
Correct
The comparison succeeded.
Skip
The test was skipped because of a .skip file
Missing(String)
The .expect file is missing. Contains the generated expectation string.
Mismatch(String, String)
The comparison failed. Contains the the generated expectation string and the contents of the expect file.
Trait Implementations§
source§impl PartialEq<State> for State
impl PartialEq<State> for State
impl StructuralPartialEq for State
Auto Trait Implementations§
impl RefUnwindSafe for State
impl Send for State
impl Sync for State
impl Unpin for State
impl UnwindSafe for State
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