TraceContext.TracePlan: type of bend-trace-context@0.2.0.0 Import: import bend-trace-context@0.2.0.0/trace_context.bend as TraceContext Lines 286-295 of bend-trace-context@0.2.0.0/trace_context.bend: https://jend.leeeet.dev/read.txt?path=bend-trace-context@0.2.0.0/trace_context.bend&start_line=286&end_line=295 import Base # What a new trace needs, a root or a restart: the trace ID that its trace # ID must not repeat (`excluded`), none for a root and the received one for # a restart, and the sampled indication of the context that it creates. # TracePlan.root and TracePlan.restart give the plans of a root and a # restart; the generation machine (TracePlan.draw), the generation that a # host feeds (Generation.new_trace) and the composition on a caller's source # (TracePlan.generate_with) each run one plan, so a root and a restart # differ only in it. type TracePlan is Data: TracePlan{excluded: Maybe<&2, TraceId>, sampled: Bool} Uses (3): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=bend-trace-context@0.2.0.0/trace_context.bend&name=TraceId