pub fn restore_snapshot(
    store: &mut impl AsStoreMut,
    snapshot: &InstanceSnapshot
)