Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.praison.ai/llms.txt

Use this file to discover all available pages before exploring further.

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.