Expand description
Proto-type escape hatch for the rare call sites that need direct
access to the wire envelope’s typed enum fields — partitioners
dispatching on proto::Severity / proto::SamplingReason,
live-tail serializers that render the proto name, sink framework
tests that assert on proto::EnumValue variants. Phase 3 spec
§ 5.1 + § 6.4.
99 % of consumers don’t need this module — they use self_event
/ SelfEventBuilder for envelope construction and the façade
Severity / Tier for enum dispatch. Reach in here when the
façade surface doesn’t cover your case; prefer contributing a
helper back to the façade over normalising direct usage.
Structs§
- ObsBatch
- ObsEnvelope
- Size
Cache - Transient pre-order cache of nested-message sizes for the two-pass
serialization model (
compute_sizepopulates,write_toconsumes).
Enums§
- Enum
Value - A protobuf enum field value that can hold either a known variant or an
unknown
i32value. - Sampling
Reason - Severity
- Tier
Traits§
- Enumeration
- Trait implemented by all generated protobuf enum types.