Skip to main content

ChildExt

Trait ChildExt 

Source
pub trait ChildExt: Debug {
    // Required method
    fn ensure_is_running(&mut self) -> Result<()>;
}
Expand description

Extension trait for tokio::process::Child.

Required Methods§

Source

fn ensure_is_running(&mut self) -> Result<()>

Ensures the child process is still running, returning an error if it has exited.

Implementations on Foreign Types§

Source§

impl ChildExt for Child

Implementors§