Struct grep_cli::InvalidPatternError [−][src]
pub struct InvalidPatternError { /* fields omitted */ }Expand description
An error that occurs when a pattern could not be converted to valid UTF-8.
The purpose of this error is to give a more targeted failure mode for patterns written by end users that are not valid UTF-8.
Implementations
Returns the index in the given string up to which valid UTF-8 was verified.
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for InvalidPatternErrorimpl Send for InvalidPatternErrorimpl Sync for InvalidPatternErrorimpl Unpin for InvalidPatternErrorimpl UnwindSafe for InvalidPatternErrorBlanket Implementations
Mutably borrows from an owned value. Read more