[−][src]Enum grep_printer::SummaryKind
The type of summary output (if any) to print.
Variants
Show only a count of the total number of matches (counting each line at most once) found.
If the path setting is enabled, then the count is prefixed by the
corresponding file path.
Show only a count of the total number of matches (counting possibly many matches on each line) found.
If the path setting is enabled, then the count is prefixed by the
corresponding file path.
Show only the file path if and only if a match was found.
This ignores the path setting and always shows the file path. If no
file path is provided, then searching will immediately stop and return
an error.
Show only the file path if and only if a match was found.
This ignores the path setting and always shows the file path. If no
file path is provided, then searching will immediately stop and return
an error.
Don't show any output and the stop the search once a match is found.
Note that if stats is enabled, then searching continues in order to
compute statistics.
Trait Implementations
impl Clone for SummaryKind[src]
fn clone(&self) -> SummaryKind[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Copy for SummaryKind[src]
impl Debug for SummaryKind[src]
impl Eq for SummaryKind[src]
impl PartialEq<SummaryKind> for SummaryKind[src]
fn eq(&self, other: &SummaryKind) -> bool[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl StructuralEq for SummaryKind[src]
impl StructuralPartialEq for SummaryKind[src]
Auto Trait Implementations
impl RefUnwindSafe for SummaryKind
impl Send for SummaryKind
impl Sync for SummaryKind
impl Unpin for SummaryKind
impl UnwindSafe for SummaryKind
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,