Trait AssertResult

Source
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§

Source

fn assert_result_eq(self, other: impl AsRef<str>) -> Self

Asserts that the result is equal to the expected result after trimming whitespace.

Source

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.

Implementors§