fn apply<F>(info: &mut FotaInfo, is_new: bool, f: F) -> boolwhere F: FnOnce(&mut FotaInfo),
Applies f to info and returns whether info must be written.
f
info