pub struct NoopSink;Expand description
Default sink that discards everything. Lower overhead than even a
tracing::trace! call.
Trait Implementations§
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