Skip to main content

current_span_id

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

Signature

def current_span_id(&self) -> Option<&str>

Returns

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