def Service.show

bend-trace-context@0.2.0.0 · trace_context.bend:3829

import bend-trace-context@0.2.0.0/trace_context.bend as TraceContext
import Base

3829# The name of a service's origin, or Untraced with its error. It includes no
3830# received value.
3831def Service.show(service: Service) -> String:
3832  match service:
3833    case Operating{origin, outgoing, received}:
3834      Origin.show(origin)
3835    case Untraced{error, received}:
3836      "Untraced " ++ GenerationError.show(error)

Uses (5)

Used by (0)

No other definition uses this definition.