pub struct PipedChild {
pub handle: ChildHandle,
pub stdin: ChildStdin,
pub stdout: ChildStdout,
pub stderr: Option<ChildStderr>,
}Expand description
A spawned child with its stdio halves detached for frame pumps.
Dropping stdin/stdout/stderr closes the pipes; handle keeps
kill-on-drop and reaping semantics. Only constructed by
CommandBuilder::spawn_piped (stderr stays inherited there) and
CommandBuilder::spawn_piped_with_stderr.
Fields§
§handle: ChildHandle§stdin: ChildStdin§stdout: ChildStdout§stderr: Option<ChildStderr>Auto Trait Implementations§
impl Forget for PipedChild
impl Freeze for PipedChild
impl RefUnwindSafe for PipedChild
impl Send for PipedChild
impl Sync for PipedChild
impl Unpin for PipedChild
impl UnsafeUnpin for PipedChild
impl UnwindSafe for PipedChild
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