Skip to navigation

Function capture_propagation_context_with_root

View as Markdown

Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-pii-redaction -p nemo-relay-ffi -p nemo-relay-types -p nemo-relay-plugin -p nemo-relay-worker-proto -p nemo-relay-worker.

pub fn capture_propagation_context_with_root(
    root_uuid: Option<Uuid>,
) -> Result<PropagationContext>

Capture the current causal parent and an application-supplied session root. Without an imported W3C parent, the supplied root determines the receiver’s trace. An imported W3C parent retains precedence over the Relay root. Passing None has the same behavior as capture_rootless_propagation_context.