Skip to main content

watchdog

Function watchdog 

Source
pub fn watchdog(
    tool: &'static str,
    timeout: Option<f64>,
) -> Result<Option<Watchdog>, String>
Expand description

Arm a Watchdog from a raw --timeout value, if one was given. The returned guard must be held for the span the bound should cover.