Struct grep_printer::Stats [−][src]
pub struct Stats { /* fields omitted */ }
Expand description
Summary statistics produced at the end of a search.
When statistics are reported by a printer, they correspond to all searches executed with that printer.
Implementations
Return a new value for tracking aggregate statistics across searches.
All statistics are set to 0
.
Return the total number of searches that found at least one match.
Return the total number of bytes searched.
Return the total number of bytes printed.
Return the total number of lines that participated in a match.
When matches may contain multiple lines then this includes every line that is part of every match.
Return the total number of matches.
There may be multiple matches per line.
Add to the elapsed time.
Add to the number of searches executed.
Add to the number of searches that found at least one match.
Add to the total number of bytes searched.
Add to the total number of bytes printed.
Add to the total number of lines that participated in a match.
Add to the total number of matches.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Stats
impl UnwindSafe for Stats
Blanket Implementations
Mutably borrows from an owned value. Read more