pub struct CompiledStats {
pub valid: usize,
pub deferred: usize,
pub bail: usize,
pub uncompiled: usize,
pub rejected_valid: usize,
pub rejected_valid_samples: Vec<(String, String)>,
pub mismatches: Vec<(String, String)>,
}Expand description
the number of values validated by the compiled matchers, see compiled_stats
Fields§
§valid: usizevalid: the answer of the compiled matcher is final
deferred: usizedeferred to the interpreter
bail: usizedeferred: the value contains var(), a custom function, …
uncompiled: usizedeferred: the syntax is not compiled
rejected_valid: usizedeferred: the compiled matcher rejected the value, the interpreter accepted it (verified mode)
rejected_valid_samples: Vec<(String, String)>(syntax, value) of the values rejected by a compiled matcher and accepted by the interpreter (verified mode)
mismatches: Vec<(String, String)>(syntax, value) of the values accepted by a compiled matcher and rejected by the interpreter (verified mode)
Trait Implementations§
Source§impl Clone for CompiledStats
impl Clone for CompiledStats
Source§impl Debug for CompiledStats
impl Debug for CompiledStats
Auto Trait Implementations§
impl Forget for CompiledStats
impl Freeze for CompiledStats
impl Move for CompiledStats
impl RefUnwindSafe for CompiledStats
impl Send for CompiledStats
impl Sync for CompiledStats
impl Unpin for CompiledStats
impl UnsafeUnpin for CompiledStats
impl UnwindSafe for CompiledStats
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