pub struct CollectingSink { /* private fields */ }Expand description
Sink used during testing to capture outcomes.
Implementations§
Trait Implementations§
Source§impl CallOutcomeSink for CollectingSink
impl CallOutcomeSink for CollectingSink
Source§fn record(&self, outcome: CallOutcome)
fn record(&self, outcome: CallOutcome)
Records the outcome of a call invocation.
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
Auto Trait Implementations§
impl !Freeze for CollectingSink
impl RefUnwindSafe for CollectingSink
impl Send for CollectingSink
impl Sync for CollectingSink
impl Unpin 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