pub struct SpawnThenWaitWithOutput { /* private fields */ }Expand description
I/O-free coroutine for spawning a process then waiting for its child’s output.
This coroutine should be used when you need to collect the child process’ output, from stdout and stderr.
If you do not need to collect the output, or if you need to pipe
the output to another process, see
super::spawn_then_wait::SpawnThenWait.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SpawnThenWaitWithOutput
impl RefUnwindSafe for SpawnThenWaitWithOutput
impl Send for SpawnThenWaitWithOutput
impl Sync for SpawnThenWaitWithOutput
impl Unpin for SpawnThenWaitWithOutput
impl UnwindSafe for SpawnThenWaitWithOutput
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