pub enum MigrationError {
WrongParent,
StaleBefore,
InvalidBackfill,
RevisionTargetMismatch,
ProgramTargetMismatch,
IncompleteOperationCoverage,
AuthoredOperationRequired,
Identity,
}Expand description
Failure to prove a migration program.
Variants§
WrongParent
A revision does not name the preceding revision.
StaleBefore
An operation does not consume the current simulated schema.
InvalidBackfill
A backfill was admitted against a different schema.
RevisionTargetMismatch
A revision does not produce its declared target.
ProgramTargetMismatch
The program does not produce its final target.
IncompleteOperationCoverage
An operation’s claimed edit does not match the before/after snapshots.
AuthoredOperationRequired
The requested automatic diff is destructive, narrowing, or ambiguous.
Identity
Schema identity could not be calculated.
Trait Implementations§
Source§impl Clone for MigrationError
impl Clone for MigrationError
Source§fn clone(&self) -> MigrationError
fn clone(&self) -> MigrationError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MigrationError
impl Debug for MigrationError
impl Eq for MigrationError
Source§impl PartialEq for MigrationError
impl PartialEq for MigrationError
impl StructuralPartialEq for MigrationError
Auto Trait Implementations§
impl Freeze for MigrationError
impl RefUnwindSafe for MigrationError
impl Send for MigrationError
impl Sync for MigrationError
impl Unpin for MigrationError
impl UnsafeUnpin for MigrationError
impl UnwindSafe for MigrationError
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