Public declaration syntax from harness-tui-kit/src/components/history/exec_cell.rs Original source SHA-256: f8b3f70fc7171a2184235aa7c41be3f41e2375e0f485654e8074735f5021f54f Function bodies and constant values are omitted. This is not the complete implementation. Source line 22 #[derive(Debug, Clone)] pub enum ExecOutcome { /// Command still running. Running, /// Command finished with the given exit code and (possibly empty) /// captured stdout+stderr. Finished { /// Process exit code (0 = success). exit_code: i32, /// Aggregated stdout + stderr output. output: String, /// Wall-clock duration. duration: Duration, }, } Source line 39 #[derive(Debug, Clone)] pub struct ExecCell { } Source line 49 #[must_use] pub fn new(command: impl AsRef) -> Self; Source line 59 #[must_use] pub fn cwd(mut self, cwd: impl Into) -> Self; Source line 67 #[must_use] pub fn with_outcome(mut self, outcome: ExecOutcome) -> Self;