#[derive(StateSetValue)]Expand description
Derive the StateSetValue trait for enums.
This macro implements the StateSetValue trait, which allows an enum
to be used as a value in a state set metric.
ยงExample
#[derive(PartialEq, StateSetValue)]
enum ServiceState {
Available,
Degraded,
Down,
}