pub enum OldWrites {
Convert(Arc<dyn Fn(&mut RowChange) -> Result<(), DbError> + Send + Sync>),
Drop,
}Expand description
What a breaking migration does with received late old-version writes.
Variants§
Convert(Arc<dyn Fn(&mut RowChange) -> Result<(), DbError> + Send + Sync>)
Convert eligible changes without rewriting their original upload records.
Drop
Keep each original change as a frozen schema loss; never discard its values.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for OldWrites
impl !RefUnwindSafe for OldWrites
impl Send for OldWrites
impl Sync for OldWrites
impl Unpin for OldWrites
impl UnsafeUnpin for OldWrites
impl !UnwindSafe for OldWrites
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