Struct opentelemetry::testing::trace::TestSpanExporter [−][src]
pub struct TestSpanExporter { /* fields omitted */ }
Trait Implementations
impl Debug for TestSpanExporter
[src]
impl Debug for TestSpanExporter
[src]impl SpanExporter for TestSpanExporter
[src]
impl SpanExporter for TestSpanExporter
[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]This is supported on crate feature
trace
only.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 TestSpanExporter
impl Send for TestSpanExporter
impl !Sync for TestSpanExporter
impl Unpin for TestSpanExporter
impl !UnwindSafe for TestSpanExporter
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>,