Function storage_proofs_core::parameter_cache::with_open_file

source ยท
pub fn with_open_file<'a, T, E, F, G>(
    file_path: &'a Path,
    open_file: G,
    f: F,
) -> Result<T, E>
where F: FnOnce(&mut LockedFile) -> Result<T, E>, G: FnOnce(&'a Path) -> Result<LockedFile>, E: From<Error>,