pub struct TestRunSummary {
pub failure_count: usize,
pub tests_count: usize,
}Expand description
Output from running tests via run_tests_summary.
Fields§
§failure_count: usize§tests_count: usizeImplementations§
Source§impl TestRunSummary
impl TestRunSummary
Sourcepub fn panic_on_failures(&self)
pub fn panic_on_failures(&self)
Panics if any tests failed.
Auto Trait Implementations§
impl Freeze for TestRunSummary
impl RefUnwindSafe for TestRunSummary
impl Send for TestRunSummary
impl Sync for TestRunSummary
impl Unpin for TestRunSummary
impl UnwindSafe for TestRunSummary
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more