Type Definition atomic_file::WrappedUpgradeFunc

source ·
pub type WrappedUpgradeFunc = Box<dyn Fn(Vec<u8>, u8, u8) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, Error>>>>>;
Expand description

WrappedUpgradeFunc is a type that wraps an UpgradeFunc so that the UpgradeFunc can be used as a function pointer in the call to open_file.