(&mut self, tstats: TraceStat)
| 50 | |
| 51 | impl CacheStats { |
| 52 | fn update(&mut self, tstats: TraceStat) { |
| 53 | self.p_weight = tstats.p_weight; |
| 54 | self.shared_max = tstats.shared_max; |
| 55 | self.freq = tstats.freq; |
| 56 | self.recent = tstats.recent; |
| 57 | self.all_seen_keys = tstats.all_seen_keys; |
| 58 | } |
| 59 | } |
| 60 | |
| 61 | #[derive(Debug, Default)] |
no outgoing calls
no test coverage detected