Type Alias Nemo Relay Metric Value Type

View as Markdown

Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-pii-redaction -p nemo-relay-ffi -p nemo-relay-types -p nemo-relay-plugin -p nemo-relay-worker-proto -p nemo-relay-worker.

pub type NemoRelayMetricValueType = i32;

Integer-backed numeric representation selected from a typed metric measurement’s value fields.

This is intentionally not a Rust enum because foreign callers can supply any int32_t value. Exported functions validate the value before converting it to the core metric value type. Zero is reserved as unspecified so a zero-initialized measurement cannot select a value field accidentally.