pub fn try_set_trace_id(trace_id: TraceId) -> bool
Expand description

Replaces the current trace id with the provided one if inside the actor system.

Returns true if the trace id has been replaced.