pub type RestorationMigration = Arc<dyn Fn(u32, &mut Value) -> Result<(), String> + 'static>;Expand description
Application-owned migration invoked before any restored value is exposed to a UI build. It receives the old schema version and the complete JSON document; failures safely fall back to default state.
Aliased Typeยง
pub struct RestorationMigration { /* private fields */ }