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 InvalidPatternError
impl Send for InvalidPatternError
impl Sync for InvalidPatternError
impl Unpin for InvalidPatternError
impl UnwindSafe for InvalidPatternError
Blanket Implementations
Mutably borrows from an owned value. Read more