pub struct NoopEffectSink;Expand description
Effect sink that discards all effects (e.g. when capture is not needed).
Trait Implementations§
Source§impl Debug for NoopEffectSink
impl Debug for NoopEffectSink
Source§impl Default for NoopEffectSink
impl Default for NoopEffectSink
Source§fn default() -> NoopEffectSink
fn default() -> NoopEffectSink
Returns the “default value” for a type. Read more
Source§impl EffectSink for NoopEffectSink
impl EffectSink for NoopEffectSink
Source§fn record(&self, _run_id: &RunId, _effect: &RuntimeEffect)
fn record(&self, _run_id: &RunId, _effect: &RuntimeEffect)
Records one runtime effect for the given run.
Auto Trait Implementations§
impl Freeze for NoopEffectSink
impl RefUnwindSafe for NoopEffectSink
impl Send for NoopEffectSink
impl Sync for NoopEffectSink
impl Unpin for NoopEffectSink
impl UnsafeUnpin for NoopEffectSink
impl UnwindSafe for NoopEffectSink
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