Struct std::process::Stdio 1.0.0
[−]
[src]
pub struct Stdio(_);
Describes what to do with a standard I/O stream for a child process.
Methods
impl Stdio
[src]
fn piped() -> Stdio
[src]
A new pipe should be arranged to connect the parent and child processes.
fn inherit() -> Stdio
[src]
The child inherits from the corresponding parent descriptor.
fn null() -> Stdio
[src]
This stream will be ignored. This is the equivalent of attaching the
stream to /dev/null
Trait Implementations
impl Debug for Stdio
1.16.0[src]
impl From<ChildStdin> for Stdio
1.20.0[src]
fn from(child: ChildStdin) -> Stdio
[src]
Performs the conversion.
impl From<ChildStdout> for Stdio
1.20.0[src]
fn from(child: ChildStdout) -> Stdio
[src]
Performs the conversion.
impl From<ChildStderr> for Stdio
1.20.0[src]
fn from(child: ChildStderr) -> Stdio
[src]
Performs the conversion.
impl From<File> for Stdio
1.20.0[src]
impl FromRawFd for Stdio
1.2.0[src]
unsafe fn from_raw_fd(fd: RawFd) -> Stdio
[src]
This is supported on Unix only.
Constructs a new instance of Self
from the given raw file descriptor. Read more
impl FromRawHandle for Stdio
1.2.0[src]
unsafe fn from_raw_handle(handle: RawHandle) -> Stdio
[src]
This is supported on Windows only.
Constructs a new I/O object from the specified raw handle. Read more