Struct opentelemetry::trace::NoopSpanExporter [−][src]
pub struct NoopSpanExporter { /* fields omitted */ }
This is supported on crate feature
trace
only.A no-op instance of an SpanExporter
.
Implementations
Trait Implementations
impl Debug for NoopSpanExporter
[src]
impl Debug for NoopSpanExporter
[src]impl Default for NoopSpanExporter
[src]
impl Default for NoopSpanExporter
[src]fn default() -> NoopSpanExporter
[src]
fn default() -> NoopSpanExporter
[src]Returns the “default value” for a type. Read more
impl SpanExporter for NoopSpanExporter
[src]
impl SpanExporter for NoopSpanExporter
[src]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,
[src]
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,
[src]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
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,