(&self, f: &mut std::fmt::Formatter<'_>)
| 182 | |
| 183 | impl std::fmt::Display for DispatchResult { |
| 184 | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { |
| 185 | write!(f, "[{}] → {}", self.session_id, self.new_phase)?; |
| 186 | if let Some(ref outcome) = self.change_recorded { |
| 187 | write!(f, " ({})", outcome)?; |
| 188 | } |
| 189 | for warning in &self.warnings { |
| 190 | write!(f, " ⚠ {}", warning)?; |
| 191 | } |
| 192 | Ok(()) |
| 193 | } |
| 194 | } |
| 195 | |
| 196 | // ═══════════════════════════════════════════════════════════════════════ |