def IncomingContext.state
import bend-trace-context@0.2.0.0/trace_context.bend as TraceContextimport Base
3101# The state received with it: empty when the message had none or when it was
3102# discarded.
3103def IncomingContext.state(incoming: IncomingContext) -> TraceState:
3104 match incoming:
3105 case IncomingContext{context, state, received}:
3106 state