Struct grep_matcher::NoError
source · pub struct NoError(_);Expand description
NoError provides an error type for matchers that never produce errors.
This error type implements the std::error::Error and fmt::Display
traits for use in matcher implementations that can never produce errors.
The fmt::Debug and fmt::Display impls for this type panics.
Trait Implementations§
source§impl Error for NoError
impl Error for NoError
source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more