current_span_id

Function current_span_id 

Source
pub fn current_span_id() -> u64
Expand description

Returns the current span ID from the async call stack. Returns 0 (root) if no span is active.