pub struct NoopExporter;Expand description
The default exporter: export is disabled, so the pipeline never encodes a payload and nothing is shipped.
Trait Implementations§
Source§impl Clone for NoopExporter
impl Clone for NoopExporter
Source§fn clone(&self) -> NoopExporter
fn clone(&self) -> NoopExporter
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for NoopExporter
Source§impl Debug for NoopExporter
impl Debug for NoopExporter
Source§impl Default for NoopExporter
impl Default for NoopExporter
Source§fn default() -> NoopExporter
fn default() -> NoopExporter
Returns the “default value” for a type. Read more
Source§impl SpanExporter for NoopExporter
impl SpanExporter for NoopExporter
Source§fn enabled(&self) -> bool
fn enabled(&self) -> bool
Whether this exporter will do anything. The pipeline checks this before
building a payload, so a disabled exporter costs only this call.
Source§fn export(&self, _payload: Value)
fn export(&self, _payload: Value)
Hands off a finished OTLP
ResourceSpans payload (from
resource_spans) for background delivery.
Returns immediately; delivery is best-effort.Auto Trait Implementations§
impl Freeze for NoopExporter
impl RefUnwindSafe for NoopExporter
impl Send for NoopExporter
impl Sync for NoopExporter
impl Unpin for NoopExporter
impl UnsafeUnpin for NoopExporter
impl UnwindSafe for NoopExporter
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