pub trait AssertResult: AsRef<str> + Sized {
// Provided methods
fn assert_result_eq(self, other: impl AsRef<str>) -> Self { ... }
fn assert_result_ne(self, other: impl AsRef<str>) -> Self { ... }
}
Provided Methods§
Sourcefn assert_result_eq(self, other: impl AsRef<str>) -> Self
fn assert_result_eq(self, other: impl AsRef<str>) -> Self
Asserts that the result is equal to the expected result after trimming whitespace.
Sourcefn assert_result_ne(self, other: impl AsRef<str>) -> Self
fn assert_result_ne(self, other: impl AsRef<str>) -> Self
Asserts that the result is not equal to the expected result after trimming whitespace.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.