Searched refs:RedirectStdout (Results 1 – 1 of 1) sorted by relevance
329 pub enum RedirectStdout { enum334 impl RedirectStdout { implementation337 RedirectStdout::Stdout(child_stdout) => child_stdout.take().unwrap().as_raw_fd(), in as_raw_fd()338 RedirectStdout::RawPipe(fd) => *fd, in as_raw_fd()344 RedirectStdout::Stdout(child_stdout) => Stdio::from(child_stdout.take().unwrap()), in as_std()345 RedirectStdout::RawPipe(fd) => unsafe { Stdio::from_raw_fd(*fd) }, in as_std()350 impl From<i32> for RedirectStdout { implementation352 RedirectStdout::RawPipe(value) in from()356 impl From<Option<ChildStdout>> for RedirectStdout { implementation358 RedirectStdout::Stdout(value.take()) in from()[all …]