(&self, f: &mut std::fmt::Formatter<'_>)
| 148 | |
| 149 | impl std::fmt::Display for DispatchResult { |
| 150 | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { |
| 151 | write!(f, "[{}] → {}", self.session_id, self.new_phase)?; |
| 152 | if let Some(ref outcome) = self.change_recorded { |
| 153 | write!(f, " ({})", outcome)?; |
| 154 | } |
| 155 | for warning in &self.warnings { |
| 156 | write!(f, " ⚠ {}", warning)?; |
| 157 | } |
| 158 | Ok(()) |
| 159 | } |
| 160 | } |
| 161 | |
| 162 | // ═══════════════════════════════════════════════════════════════════════ |