pub trait AssertAll {
type Output: Assertion;
// Required method
fn assert_all(self) -> CollectedAssertion<Self::Output>
where Self: Sized;
}Expand description
Extension trait, blanked implemented for Iterators of Assertions.
Adds the assert_all method,
which calls the collect method (with fewer generics and turbofish).
Required Associated Types§
Required Methods§
Sourcefn assert_all(self) -> CollectedAssertion<Self::Output>where
Self: Sized,
fn assert_all(self) -> CollectedAssertion<Self::Output>where
Self: Sized,
Collect this iterator of Assertions into a CollectedAssertion.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".