pub struct EvaluationStats {
pub total: usize,
pub failed: usize,
pub first_error: String,
}Expand description
Aggregate stats returned by MilkEvaluator::eval_equation_list.
total is the input length so callers can compute per-equation failure
rates; failed counts whole blocks that errored, so a 5-line loop that
fails counts as one failure.
Fields§
§total: usize§failed: usize§first_error: StringTrait Implementations§
Source§impl Clone for EvaluationStats
impl Clone for EvaluationStats
Source§fn clone(&self) -> EvaluationStats
fn clone(&self) -> EvaluationStats
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 moreSource§impl Debug for EvaluationStats
impl Debug for EvaluationStats
Source§impl Default for EvaluationStats
impl Default for EvaluationStats
Source§fn default() -> EvaluationStats
fn default() -> EvaluationStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for EvaluationStats
impl RefUnwindSafe for EvaluationStats
impl Send for EvaluationStats
impl Sync for EvaluationStats
impl Unpin for EvaluationStats
impl UnwindSafe for EvaluationStats
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