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.
Formats the value using the given formatter. Read more
This method tests for self
and other
values to be equal, and is used by ==
. Read more
This method tests for !=
.
The lower-level cause of this error, if any. Read more
Formats the value using the given formatter. Read more