(&mut self, error: String)
| 142 | } |
| 143 | |
| 144 | pub fn increment(&mut self, error: String) { |
| 145 | self.attempt += 1; |
| 146 | self.last_error = Some(error); |
| 147 | } |
| 148 | |
| 149 | pub fn next_delay(&self, error_info: Option<&ApiErrorInfo>) -> u64 { |
| 150 | delay(self.attempt, error_info) |
nothing calls this directly
no outgoing calls
no test coverage detected