Expand description
This crate provides some derive macros for fastmetrics.
Derive Macrosยง
- Encode
Label Set - Derive the
EncodeLabelSettrait for structs. - Encode
Label Value - This macro generates an implementation of the
EncodeLabelValuetrait, which allows them to be used as values in metric labels. This is useful for ensuring type safety when using enumerated values as labels. - Register
- Derive the
Registertrait for structs. - State
SetValue - Derive the
StateSetValuetrait for enums.