logo
pub struct NoopSpanExporter { /* private fields */ }
Expand description

A no-op instance of an SpanExporter.

Implementations

Create a new noop span exporter

Trait Implementations

Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
Exports a batch of readable spans. Protocol exporters that will implement this function are typically expected to serialize and transmit the data to the destination. Read more
Shuts down the exporter. Called when SDK is shut down. This is an opportunity for exporter to do any cleanup required. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.