Struct opentelemetry::trace::noop::NoopSpanExporter
source · pub struct NoopSpanExporter { /* private fields */ }
Expand description
A no-op instance of an SpanExporter
.
Implementations§
Trait Implementations§
source§impl Debug for NoopSpanExporter
impl Debug for NoopSpanExporter
source§impl Default for NoopSpanExporter
impl Default for NoopSpanExporter
source§fn default() -> NoopSpanExporter
fn default() -> NoopSpanExporter
Returns the “default value” for a type. Read more
source§impl SpanExporter for NoopSpanExporter
impl SpanExporter for NoopSpanExporter
source§fn export<'life0, 'async_trait>(
&'life0 mut self,
_batch: Vec<SpanData>
) -> Pin<Box<dyn Future<Output = ExportResult> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn export<'life0, 'async_trait>( &'life0 mut self, _batch: Vec<SpanData> ) -> Pin<Box<dyn Future<Output = ExportResult> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,
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
Auto Trait Implementations§
impl RefUnwindSafe for NoopSpanExporter
impl Send for NoopSpanExporter
impl Sync for NoopSpanExporter
impl Unpin for NoopSpanExporter
impl UnwindSafe for NoopSpanExporter
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