usestd::time::Instant;/// Identifies which output stream a line came from.
#[derive(Debug, Clone, PartialEq, Eq)]pubenumOutputStream{
Stdout,
Stderr,}/// A single line of output from a subprocess.
#[derive(Debug, Clone)]pubstructOutputLine{pubcontent: String,
pubtimestamp: Instant,
pubstream: OutputStream,
}