pub struct NoopTelemetry;Expand description
A telemetry sink that ignores all events. Useful for tests or for consumers who do not need telemetry integration yet.
Trait Implementations§
Source§impl Clone for NoopTelemetry
impl Clone for NoopTelemetry
Source§fn clone(&self) -> NoopTelemetry
fn clone(&self) -> NoopTelemetry
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NoopTelemetry
impl Debug for NoopTelemetry
Source§impl Default for NoopTelemetry
impl Default for NoopTelemetry
Source§fn default() -> NoopTelemetry
fn default() -> NoopTelemetry
Returns the “default value” for a type. Read more
Source§impl<Event> TelemetrySink<Event> for NoopTelemetry
impl<Event> TelemetrySink<Event> for NoopTelemetry
impl Copy for NoopTelemetry
Auto Trait Implementations§
impl Freeze for NoopTelemetry
impl RefUnwindSafe for NoopTelemetry
impl Send for NoopTelemetry
impl Sync for NoopTelemetry
impl Unpin for NoopTelemetry
impl UnwindSafe for NoopTelemetry
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