Expand description
Health state machine and tracking for backend nodes.
Structs§
- Consecutive
Failure Policy - Marks a node unhealthy after N consecutive failures, recovers after M successes.
- Consecutive
Failure Policy Builder - Use builder syntax to set the required parameters and finish by calling the method
Self::build(). - Health
Tracker - Tracks health state for a set of nodes identified by
Id. - Node
Health - Mutable runtime health counters for a single node.
Enums§
- Health
Status - Current health state of a node.
- Outcome
- Classified result of a request, allowing
HealthPolicyto distinguish between different failure modes.
Traits§
- Health
Policy - Determines how health status transitions based on success/failure signals.