pub enum ChildIo {
TTY {
master_read: AsyncFd<File>,
master_write: File,
},
Piped {
stdin: Option<ChildStdin>,
stdout: Option<ChildStdout>,
stderr: Option<ChildStderr>,
},
}
Expand description
The type of child IO to use.
Variants§
TTY
A pseudo-TTY.
Fields
Piped
Pipes for stdin, stdout, and stderr.
Fields
§
stdin: Option<ChildStdin>
The stdin pipe.
§
stdout: Option<ChildStdout>
The stdout pipe.
§
stderr: Option<ChildStderr>
The stderr pipe.
Auto Trait Implementations§
impl !Freeze for ChildIo
impl !RefUnwindSafe for ChildIo
impl Send for ChildIo
impl Sync for ChildIo
impl Unpin for ChildIo
impl !UnwindSafe for ChildIo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more