(&self, f: &mut std::fmt::Formatter<'_>)
| 55 | |
| 56 | impl std::fmt::Debug for MemoryBudget { |
| 57 | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { |
| 58 | f.debug_struct("MemoryBudget") |
| 59 | .field("limit", &self.limit) |
| 60 | .field("allocated", &self.allocated.load(Ordering::SeqCst)) |
| 61 | .field("peak", &self.peak.load(Ordering::SeqCst)) |
| 62 | .finish() |
| 63 | } |
| 64 | } |
| 65 | |
| 66 | impl MemoryBudget { |