TraceContext.Limits: type of bend-trace-context@0.2.0.0 Import: import bend-trace-context@0.2.0.0/trace_context.bend as TraceContext Lines 1635-1645 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=1635&end_line=1645 import Base # Budgets in UTF-8 octets. The input budgets bound a received traceparent value # and a combined tracestate value; the output budget is the most an emitted # tracestate may take. `evidence` is the proof of Limits.is_valid, so every # Limits value follows the rules. type Limits is Data: Limits{ traceparent_input: Nat, tracestate_input: Nat, tracestate_output: Nat, evidence: {Limits.is_valid(traceparent_input, tracestate_input, tracestate_output) == True{} : 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=Nat https://jend.leeeet.dev/definition.txt?path=bend-trace-context@0.2.0.0/trace_context.bend&name=Limits.is_valid