pub struct NoopSink;Expand description
A no-op sink. Default when no sink is installed.
Trait Implementations§
Source§impl Sink for NoopSink
impl Sink for NoopSink
Source§fn record(&self, _event: TraceEvent)
fn record(&self, _event: TraceEvent)
Receive a single event. Implementations should not perform I/O
or take locks that risk contention with engine work.
impl Copy for NoopSink
Auto Trait Implementations§
impl Freeze for NoopSink
impl RefUnwindSafe for NoopSink
impl Send for NoopSink
impl Sync for NoopSink
impl Unpin for NoopSink
impl UnsafeUnpin for NoopSink
impl UnwindSafe for NoopSink
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