1 2 3 4 5 6 7 8 9 10 11
use super::*; /// Pluggable exporter receiving completed HTTP request spans. pub trait SpanExporter: Send + Sync + 'static { /// Exports a completed [`SpanRecord`] synchronously (implementations should buffer or ship non-blockingly). /// /// # Arguments /// /// - `&SpanRecord` - Completed request span details. fn export(&self, span: &SpanRecord); }