Skip to main content

wait_owned_with_timeout

Function wait_owned_with_timeout 

Source
pub async fn wait_owned_with_timeout<F, Fut>(
    child: Box<dyn ChildProcess>,
    endpoint: &str,
    executable: &str,
    probe: &dyn ProcessProbe,
    cancel: &CancellationToken,
    timeout: Duration,
    ready: F,
) -> Result<Listener, String>
where F: FnOnce() -> Fut, Fut: Future<Output = Result<(), String>>,