Skip to main content

check_with_timeout

Function check_with_timeout 

Source
pub fn check_with_timeout(
    name: &str,
    args: &[String],
    timeout: Option<Duration>,
) -> Result<bool, ExecError>
Expand description

Ported from the package-level check function. See PORT_NOTES.md: this crate has no ambient context to carry Go’s caller-supplied deadline, so timeout is threaded through explicitly as a disclosed deviation from a literal 1:1 signature match.