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