def Send.forwarded
import bend-trace-context@0.2.0.0/trace_context.bend as TraceContextimport Base
3668# The fallback when a forwarding of the received pair was tried.
3669def Send.forwarded(result: Result<&2, &2, ForwardError, List<&2, Header>>, error: GenerationError,
3670 carrier: List<&2, Header>) -> Sent:
3671 match result:
3672 case Done{forwarded}:
3673 Forwarded{forwarded, error}
3674 case Fail{reason}:
3675 NoContext{Context.clear(carrier), error, ForwardFailed{reason}}