/// Lifecycle states of an atomic circuit breaker.
#[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)]pubenumCircuitState{/// Normal traffic is admitted and outcomes are tracked in the sliding window.
Closed,/// Traffic is rejected immediately until the cooldown duration elapses.
Open,/// Limited probe calls are admitted via atomic CAS to test upstream recovery.
HalfOpen,}