pub struct Report {
pub run: usize,
pub passed: usize,
pub failures: Vec<Failure>,
}Expand description
Full counts and every failure; a consumer gate must require an empty failure list.
Fields§
§run: usizeTotal vectors run, including those whose consumer returned an error.
passed: usizeExact full-result matches.
failures: Vec<Failure>Every mismatch and consumer failure.
Implementations§
Source§impl Report
impl Report
Sourcepub fn require_conformant(&self) -> Result<(), Nonconformant>
pub fn require_conformant(&self) -> Result<(), Nonconformant>
Refuse the consumer gate unless every shipped vector matched completely.
§Errors
Returns Nonconformant if any vector did not pass, the run count
differs from the shipped vector count, or any failure was retained.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Report
impl RefUnwindSafe for Report
impl Send for Report
impl Sync for Report
impl Unpin for Report
impl UnsafeUnpin for Report
impl UnwindSafe for Report
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