pub struct CollectingSink {
pub events: Vec<RunEvent>,
}Expand description
Keeps every event, for tests and for the run report.
Fields§
§events: Vec<RunEvent>Trait Implementations§
Source§impl Debug for CollectingSink
impl Debug for CollectingSink
Source§impl Default for CollectingSink
impl Default for CollectingSink
Source§fn default() -> CollectingSink
fn default() -> CollectingSink
Returns the “default value” for a type. Read more
Source§impl EventSink for CollectingSink
impl EventSink for CollectingSink
Auto Trait Implementations§
impl Freeze for CollectingSink
impl RefUnwindSafe for CollectingSink
impl Send for CollectingSink
impl Sync for CollectingSink
impl Unpin for CollectingSink
impl UnsafeUnpin for CollectingSink
impl UnwindSafe for CollectingSink
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