Function current_context

Source
pub fn current_context() -> InvocationContext
Expand description

Gets the current invocation context

The function call captures the current context; if new spans are started, the returned invocation-context instance will not reflect that.