(&self)
| 266 | } |
| 267 | |
| 268 | fn get_state(&self) -> (CircuitState, u32, u32) { |
| 269 | let packed = self.packed_state.load(Ordering::Acquire); |
| 270 | Self::unpack_state(packed) |
| 271 | } |
| 272 | |
| 273 | fn instant_to_nanos(instant: Instant) -> u64 { |
| 274 | // Convert Instant to nanoseconds since UNIX epoch (approximate) |
no test coverage detected