Skip to main content

get_span

Method
This is a method of the TraceContext class in the trace module.
Get a span by ID.

Signature

def get_span(&self, span_id: &str) -> Option<&Span>

Parameters

span_id
&str
required
No description available.

Returns

Returns
Option<&Span>
The result of the operation.