Struct grep_cli::InvalidPatternError[][src]

pub struct InvalidPatternError { /* fields omitted */ }

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.

Methods

impl InvalidPatternError
[src]

Returns the index in the given string up to which valid UTF-8 was verified.

Trait Implementations

impl Clone for InvalidPatternError
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for InvalidPatternError
[src]

Formats the value using the given formatter. Read more

impl Eq for InvalidPatternError
[src]

impl PartialEq for InvalidPatternError
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Error for InvalidPatternError
[src]

This method is soft-deprecated. Read more

The lower-level cause of this error, if any. Read more

impl Display for InvalidPatternError
[src]

Formats the value using the given formatter. Read more

impl From<InvalidPatternError> for Error
[src]

Performs the conversion.

Auto Trait Implementations