Trait fixture::utils::ChildExt

source ·
pub trait ChildExt {
    // Required method
    fn wait_with_timeout(
        &mut self,
        timeout: Duration
    ) -> Result<Option<ExitStatus>>;
}
Expand description

Extension trait for utilities on std::process::Child

Required Methods§

source

fn wait_with_timeout(&mut self, timeout: Duration) -> Result<Option<ExitStatus>>

Same as Child.wait(), but will return with an error after the specified timeout.

Implementations on Foreign Types§

source§

impl ChildExt for Child

Implementors§