Increment the `bytes_received` user-facing statistics. This should be incremented even if the request is invalid.
(&self, bytes: u64)
| 287 | /// Increment the `bytes_received` user-facing statistics. This |
| 288 | /// should be incremented even if the request is invalid. |
| 289 | pub fn increment_bytes_received(&self, bytes: u64) { |
| 290 | self.stats |
| 291 | .bytes_received |
| 292 | .fetch_add(bytes, Ordering::Relaxed); |
| 293 | } |
| 294 | |
| 295 | pub(crate) fn new( |
| 296 | tx: MonotonicAppender, |