Skip to main content

get_span_mut

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

Signature

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

Parameters

span_id
&str
required
No description available.

Returns

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