pub struct CollectingHandler {
pub events: Vec<TestEvent>,
}Expand description
A handler that collects all events into a vec for testing.
Fields§
§events: Vec<TestEvent>Implementations§
Trait Implementations§
Source§impl Default for CollectingHandler
impl Default for CollectingHandler
Auto Trait Implementations§
impl Freeze for CollectingHandler
impl RefUnwindSafe for CollectingHandler
impl Send for CollectingHandler
impl Sync for CollectingHandler
impl Unpin for CollectingHandler
impl UnsafeUnpin for CollectingHandler
impl UnwindSafe for CollectingHandler
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