| 6 | pub const MAX_RETRIES: usize = 1000; |
| 7 | |
| 8 | pub struct Counters { |
| 9 | pub requests: AtomicUsize, |
| 10 | pub success: AtomicUsize, |
| 11 | pub errors: AtomicUsize, |
| 12 | pub ratelimits: AtomicUsize, |
| 13 | pub hits: AtomicUsize |
| 14 | } |
| 15 | |
| 16 | impl Counters { |
| 17 | // Add a new() method for easier creation |
nothing calls this directly
no outgoing calls
no test coverage detected