pub struct SpawnedProcess { /* private fields */ }Implementations§
Source§impl SpawnedProcess
impl SpawnedProcess
pub fn new(handle: ProcessHandle, child: Child) -> Self
pub fn handle(&self) -> &ProcessHandle
pub fn take_stdout(&mut self) -> Option<ChildStdout>
pub fn take_stderr(&mut self) -> Option<ChildStderr>
Sourcepub fn take_stdin(&mut self) -> Option<ChildStdin>
pub fn take_stdin(&mut self) -> Option<ChildStdin>
The process’s open stdin, when it was spawned with
ExecutionRequest::keep_stdin by a backend that keeps it.
pub fn into_child(self) -> Child
Auto Trait Implementations§
impl !Freeze for SpawnedProcess
impl !RefUnwindSafe for SpawnedProcess
impl !UnwindSafe for SpawnedProcess
impl Forget for SpawnedProcess
impl Move for SpawnedProcess
impl Send for SpawnedProcess
impl Sync for SpawnedProcess
impl Unpin for SpawnedProcess
impl UnsafeUnpin for SpawnedProcesswhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
I32NotAllOnes: UnsafeUnpin,
*const dyn Future<Output = Receiver<()>> + Send is !null: UnsafeUnpin,
*const ArcInner<Handle> is !null: UnsafeUnpin,
PhantomData<ArcInner<Handle>>: UnsafeUnpin,
*const ArcInner<ScheduledIo> is !null: UnsafeUnpin,
PhantomData<ArcInner<ScheduledIo>>: UnsafeUnpin,
Align8<usize>: UnsafeUnpin,
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