pub fn iter_headers(&self) -> TraceHeadersIter {
        let inner = self.inner.lock().unwrap();
        let trace = SentryTrace(
            inner.context.trace_id,
            inner.context.span_id,
            Some(inner.sampled),
        );
        TraceHeadersIter {
            sentry_trace: Some(trace.to_string()),
        }
    }
/// Returns the headers needed for distributed tracing.
Returns the headers needed for distributed tracing.
Returns the headers needed for distributed tracing .
pub fn iter_headers(&self) -> TraceHeadersIter {
        let inner = self.inner.lock().unwrap();
        let trace = SentryTrace(
            inner.context.trace_id,
            inner.context.span_id,
            Some(inner.sampled),
        );
        TraceHeadersIter {
            sentry_trace: Some(trace.to_string()),
        }
    }
pub fn iter_headers ( & self ) -> TraceHeadersIter { let inner = self . inner . lock ( ) . unwrap ( ) ; let trace = SentryTrace ( inner . context . trace_id , inner . context . span_id , Some ( inner . sampled ) , ) ; TraceHeadersIter { sentry_trace : Some ( trace . to_string ( ) ) , } }
Returns the headers needed for distributed tracing.
Returns the headers needed for distributed tracing .
&self
&self