pub enum MigrateOutcome {
AlreadyMigrated {
catalog: PathBuf,
},
Migrated {
catalog: PathBuf,
tables: Vec<String>,
removed_schema_files: Vec<PathBuf>,
},
}Expand description
Outcome of migrate_format1 on a directory. AlreadyMigrated is not an error — the
operation is safe to put in a script that runs on every deployment.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MigrateOutcome
impl RefUnwindSafe for MigrateOutcome
impl Send for MigrateOutcome
impl Sync for MigrateOutcome
impl Unpin for MigrateOutcome
impl UnsafeUnpin for MigrateOutcome
impl UnwindSafe for MigrateOutcome
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