Formats all recorded events into a stable, snapshot-friendly trace.
(&self)
| 182 | |
| 183 | /// Formats all recorded events into a stable, snapshot-friendly trace. |
| 184 | pub(crate) fn format_events(&self) -> String { |
| 185 | self.events |
| 186 | .lock() |
| 187 | .unwrap() |
| 188 | .iter() |
| 189 | .map(ToString::to_string) |
| 190 | .collect::<Vec<_>>() |
| 191 | .join("\n") |
| 192 | } |
| 193 | } |
| 194 | |
| 195 | /// Declarative planner spec used by the mock morselizer. |