pub trait ChildExt: Debug {
// Required method
fn ensure_is_running(&mut self) -> Result<()>;
}Expand description
Extension trait for tokio::process::Child.
Required Methods§
Sourcefn ensure_is_running(&mut self) -> Result<()>
fn ensure_is_running(&mut self) -> Result<()>
Ensures the child process is still running, returning an error if it has exited.