duct
pub struct WaitHandle(_);
Returned by the start method. Calling start followed by wait on the handle is equivalent to run.
start
wait
run
impl WaitHandle
fn wait(self) -> Result<Output, Error>
Wait for the running expression to finish, and return its output. Calling start followed by wait is equivalent to run.