Struct opentelemetry::trace::noop::NoopSpanExporter
source · [−]pub struct NoopSpanExporter { /* private fields */ }
Expand description
A no-op instance of an SpanExporter
.
Implementations
Trait Implementations
sourceimpl Debug for NoopSpanExporter
impl Debug for NoopSpanExporter
sourceimpl Default for NoopSpanExporter
impl Default for NoopSpanExporter
sourcefn default() -> NoopSpanExporter
fn default() -> NoopSpanExporter
Returns the “default value” for a type. Read more
sourceimpl SpanExporter for NoopSpanExporter
impl SpanExporter for NoopSpanExporter
sourcefn export<'life0, 'async_trait>(
&'life0 mut self,
_batch: Vec<SpanData>
) -> Pin<Box<dyn Future<Output = ExportResult> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
fn export<'life0, 'async_trait>(
&'life0 mut self,
_batch: Vec<SpanData>
) -> Pin<Box<dyn Future<Output = ExportResult> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: '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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more