pub fn iter_headers(&self) -> TraceHeadersIter {
        match self {
            TransactionOrSpan::Transaction(transaction) => transaction.iter_headers(),
            TransactionOrSpan::Span(span) => span.iter_headers(),
        }
    }
/// 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 {
        match self {
            TransactionOrSpan::Transaction(transaction) => transaction.iter_headers(),
            TransactionOrSpan::Span(span) => span.iter_headers(),
        }
    }
pub fn iter_headers ( & self ) -> TraceHeadersIter { match self { TransactionOrSpan :: Transaction ( transaction ) => transaction . iter_headers ( ) , TransactionOrSpan :: Span ( span ) => span . iter_headers ( ) , } }
Returns the headers needed for distributed tracing.
Returns the headers needed for distributed tracing .
&self
&self