Migrationhandler

Trait Migrationhandler 

Source
pub trait Migrationhandler<NK, EK, OldVersion, NewVersion>
where NK: Key, EK: Key, OldVersion: SchemaExt<NK, EK> + MigrateSchema<NK, EK, NewVersion>, NewVersion: SchemaExt<NK, EK>,
{ // Required method fn update_data( &self, g: &mut MigrationGraph<NK, EK, OldVersion, NewVersion>, ) -> GenericTypedResult<(), NK, EK>; }

Required Methods§

Source

fn update_data( &self, g: &mut MigrationGraph<NK, EK, OldVersion, NewVersion>, ) -> GenericTypedResult<(), NK, EK>

Implementors§

Source§

impl<NK, EK, OldVersion, NewVersion> Migrationhandler<NK, EK, OldVersion, NewVersion> for DefaultMigrationHandler
where NK: Key, EK: Key, OldVersion: SchemaExt<NK, EK> + Clone + MigrateSchema<NK, EK, NewVersion>, NewVersion: SchemaExt<NK, EK> + Clone,