(&self, other: &TokenBucket)
| 548 | // After a restore, we cannot be certain that the last_update field has the same value. |
| 549 | #[allow(dead_code)] |
| 550 | fn partial_eq(&self, other: &TokenBucket) -> bool { |
| 551 | (other.capacity() == self.capacity()) |
| 552 | && (other.one_time_burst() == self.one_time_burst()) |
| 553 | && (other.refill_time_ms() == self.refill_time_ms()) |
| 554 | && (other.budget() == self.budget()) |
| 555 | } |
| 556 | } |
| 557 | |
| 558 | impl RateLimiter { |
nothing calls this directly
no test coverage detected