(&self, f: &mut std::fmt::Formatter<'_>)
| 195 | |
| 196 | impl std::fmt::Display for DispatchResult { |
| 197 | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { |
| 198 | write!(f, "[{}] → {}", self.session_id, self.new_phase)?; |
| 199 | if let Some(ref outcome) = self.change_recorded { |
| 200 | write!(f, " ({})", outcome)?; |
| 201 | } |
| 202 | for warning in &self.warnings { |
| 203 | write!(f, " ⚠ {}", warning)?; |
| 204 | } |
| 205 | Ok(()) |
| 206 | } |
| 207 | } |
| 208 | |
| 209 | // ═══════════════════════════════════════════════════════════════════════ |