Type Alias crate_swap::StateTransferFunction
source · pub type StateTransferFunction = fn(_: &Arc<CrateNamespace>, _: &CrateNamespace) -> Result<(), &'static str>;
Expand description
A state transfer function is an arbitrary function called when swapping crates.
See the swap_crates()
function for more details.