(&self, f: &mut std::fmt::Formatter<'_>)
| 315 | |
| 316 | impl std::fmt::Debug for CommandRequest { |
| 317 | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { |
| 318 | f.debug_struct("CommandRequest") |
| 319 | .field("command", &self.command) |
| 320 | .field("timeout_ms", &self.timeout_ms) |
| 321 | .field("output_observer", &self.output_observer.is_some()) |
| 322 | .field("env", &self.env.as_ref().map(|env| env.len())) |
| 323 | .finish() |
| 324 | } |
| 325 | } |
| 326 | |
| 327 | /// Command execution output. |