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 Move for PipedChild
impl RefUnwindSafe for PipedChildwhere
Atomic<usize>: RefUnwindSafe,
Mutex<ChildInner>: RefUnwindSafe,
Atomic<u32>: RefUnwindSafe,
I32NotAllOnes: RefUnwindSafe,
impl Send for PipedChild
impl Sync for PipedChild
impl Unpin for PipedChild
impl UnsafeUnpin for PipedChildwhere
*const ArcInner<Mutex<ChildInner>> is !null: UnsafeUnpin,
PhantomData<ArcInner<Mutex<ChildInner>>>: UnsafeUnpin,
*const ArcInner<Atomic<u32>> is !null: UnsafeUnpin,
PhantomData<ArcInner<Atomic<u32>>>: UnsafeUnpin,
I32NotAllOnes: UnsafeUnpin,
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