pub struct CollectingSink { /* private fields */ }Expand description
Keeps every event in memory. The natural sink for tests, and for a host that wants the whole run before deciding what to do with it.
Implementations§
Trait Implementations§
Source§impl Clone for CollectingSink
impl Clone for CollectingSink
Source§impl Debug for CollectingSink
impl Debug for CollectingSink
Source§impl Default for CollectingSink
impl Default for CollectingSink
Source§impl PartialEq for CollectingSink
impl PartialEq for CollectingSink
impl StructuralPartialEq for CollectingSink
Auto Trait Implementations§
impl Forget for CollectingSink
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