Module context
Expand description
Execution-scoped context propagation.
The context
module provides mechanisms for propagating values across API boundaries and between
logically associated execution units. It enables cross-cutting concerns to access their data in-process
using a shared context object.
§Main Types
Context
: An immutable, execution-scoped collection of values.
Structs§
- An execution-scoped collection of values.
- A guard that resets the current context to the prior context when dropped.
Traits§
- Extension trait allowing futures, streams, and sinks to be traced with a span.