pub struct FinderStats {
pub lines_run: u64,
pub find_calls: u64,
pub try_at_calls: u64,
pub try_trigger_calls: u64,
pub hits: u64,
pub matches: u64,
}Expand description
Per-finder operation counters, see ScanStats.
Fields§
§lines_run: u64Lines on which the finder ran (was not disabled by the prescan).
find_calls: u64Calls to Finder::find (scan mode).
try_at_calls: u64Calls to Finder::try_at (dispatch mode).
try_trigger_calls: u64Calls to Finder::try_trigger_at (trigger mode).
hits: u64Calls of any kind that returned Some.
matches: u64Matches kept after the per-finder overlap check.
Implementations§
Trait Implementations§
Source§impl Clone for FinderStats
impl Clone for FinderStats
Source§impl Debug for FinderStats
impl Debug for FinderStats
Source§impl Default for FinderStats
impl Default for FinderStats
impl Eq for FinderStats
Source§impl PartialEq for FinderStats
impl PartialEq for FinderStats
impl StructuralPartialEq for FinderStats
Auto Trait Implementations§
impl Freeze for FinderStats
impl RefUnwindSafe for FinderStats
impl Send for FinderStats
impl Sync for FinderStats
impl Unpin for FinderStats
impl UnsafeUnpin for FinderStats
impl UnwindSafe for FinderStats
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