Skip to main content

current

Function current 

Source
pub fn current() -> Option<String>
Expand description

The traceparent of the current task scope, if one was propagated.

Returns None outside a TRACEPARENT scope (workers, tests, CLI).