Struct opentelemetry_zipkin::Exporter
source · pub struct Exporter { /* private fields */ }
Expand description
Zipkin span exporter
Trait Implementations§
source§impl SpanExporter for Exporter
impl SpanExporter for Exporter
source§fn export(&mut self, batch: Vec<SpanData>) -> BoxFuture<'static, ExportResult>
fn export(&mut self, batch: Vec<SpanData>) -> BoxFuture<'static, ExportResult>
Export spans to Zipkin collector.
source§fn shutdown(&mut self)
fn shutdown(&mut self)
Shuts down the exporter. Called when SDK is shut down. This is an
opportunity for exporter to do any cleanup required. Read more
source§fn force_flush(
&mut self
) -> Pin<Box<dyn Future<Output = Result<(), TraceError>> + Send>>
fn force_flush( &mut self ) -> Pin<Box<dyn Future<Output = Result<(), TraceError>> + Send>>
This is a hint to ensure that the export of any Spans the exporter
has received prior to the call to this function SHOULD be completed
as soon as possible, preferably before returning from this method. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for Exporter
impl Send for Exporter
impl Sync for Exporter
impl Unpin for Exporter
impl !UnwindSafe for Exporter
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