pub enum MigrationKind {
Append,
SegmentAppend,
Full,
}Expand description
The kind of migration.
Variants§
Append
Fields appended to the end – realloc only, no data movement.
SegmentAppend
Segments added to segment table – realloc + table update.
Full
Full data migration – copy with transformation.
Trait Implementations§
Source§impl Clone for MigrationKind
impl Clone for MigrationKind
Source§fn clone(&self) -> MigrationKind
fn clone(&self) -> MigrationKind
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 PartialEq for MigrationKind
impl PartialEq for MigrationKind
Source§fn eq(&self, other: &MigrationKind) -> bool
fn eq(&self, other: &MigrationKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for MigrationKind
impl Eq for MigrationKind
impl StructuralPartialEq for MigrationKind
Auto Trait Implementations§
impl Freeze for MigrationKind
impl RefUnwindSafe for MigrationKind
impl Send for MigrationKind
impl Sync for MigrationKind
impl Unpin for MigrationKind
impl UnsafeUnpin for MigrationKind
impl UnwindSafe for MigrationKind
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