check_threshold_with_io

Function check_threshold_with_io 

Source
pub fn check_threshold_with_io<F, H, T>(
    f: F,
    baseline: &Path,
    load_prev: bool,
    strict_compare: bool,
    save_new: bool,
    threshold: &H,
) -> Result<T, CheckThresholdError<H::Error>>
where F: Fn() -> T, H: ThresholdFor<T>, T: Debug + Serialize + DeserializeOwned, <H as ThresholdFor<T>>::Error: Debug + Display,