check_threshold_with_args

Function check_threshold_with_args 

Source
pub fn check_threshold_with_args<F, H, T>(
    f: F,
    dir: &str,
    id: &str,
    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,