pub enum MigrationCheck {
NoMigration(PathBuf),
MigratedToSqlite {
yaml_path: PathBuf,
sqlite_path: PathBuf,
},
PossibleStaleYaml {
yaml_path: PathBuf,
sqlite_path: PathBuf,
},
}Expand description
Result of checking for migration status
Variants§
NoMigration(PathBuf)
No migration detected, use this path
MigratedToSqlite
YAML was migrated to SQLite, use the SQLite path instead
PossibleStaleYaml
SQLite exists alongside YAML but no marker - potential stale data
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MigrationCheck
impl RefUnwindSafe for MigrationCheck
impl Send for MigrationCheck
impl Sync for MigrationCheck
impl Unpin for MigrationCheck
impl UnsafeUnpin for MigrationCheck
impl UnwindSafe for MigrationCheck
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more