Function atomic_file::wrap_upgrade_process
source · pub fn wrap_upgrade_process<T>(
f: fn(_: Vec<u8>, _: u8, _: u8) -> T
) -> WrappedUpgradeFuncwhere
T: Future<Output = Result<Vec<u8>, Error>> + 'static,Expand description
wrap_upgrade_process is a function that will convert an UpgradeFunc into a WrappedUpgradeFunc.