Home
last modified time | relevance | path

Searched refs:RedirectStdout (Results 1 – 1 of 1) sorted by relevance

/NovaShell/src/
H A Dparser.rs329 pub enum RedirectStdout { enum
334 impl RedirectStdout { impl
337 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 { implementation
352 RedirectStdout::RawPipe(value) in from()
356 impl From<Option<ChildStdout>> for RedirectStdout { implementation
358 RedirectStdout::Stdout(value.take()) in from()
[all …]