pub struct CountingHandler {
pub run_started: usize,
pub suite_started: usize,
pub test_started: usize,
pub test_finished: usize,
pub suite_finished: usize,
pub run_finished: usize,
pub raw_output: usize,
pub warnings: usize,
pub total: usize,
}Expand description
A handler that counts events by type for quick assertions.
Fields§
§run_started: usize§suite_started: usize§test_started: usize§test_finished: usize§suite_finished: usize§run_finished: usize§raw_output: usize§warnings: usize§total: usizeTrait Implementations§
Source§impl Debug for CountingHandler
impl Debug for CountingHandler
Source§impl Default for CountingHandler
impl Default for CountingHandler
Source§fn default() -> CountingHandler
fn default() -> CountingHandler
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CountingHandler
impl RefUnwindSafe for CountingHandler
impl Send for CountingHandler
impl Sync for CountingHandler
impl Unpin for CountingHandler
impl UnsafeUnpin for CountingHandler
impl UnwindSafe for CountingHandler
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