pub struct MigrationRunOutcome { /* private fields */ }Expand description
MigrationRunOutcome
Summary of one bounded migration-execution run. This captures the next cursor plus applied-step/row-op counters. Durable cursor persistence is internal to migration runtime state.
Implementations§
Source§impl MigrationRunOutcome
impl MigrationRunOutcome
Sourcepub const fn cursor(self) -> MigrationCursor
pub const fn cursor(self) -> MigrationCursor
Return the next migration cursor.
Sourcepub const fn applied_steps(self) -> usize
pub const fn applied_steps(self) -> usize
Return the number of steps applied in this bounded run.
Sourcepub const fn applied_row_ops(self) -> usize
pub const fn applied_row_ops(self) -> usize
Return the number of row ops applied in this bounded run.
Sourcepub const fn state(self) -> MigrationRunState
pub const fn state(self) -> MigrationRunState
Return bounded-run completion state.
Trait Implementations§
Source§impl Clone for MigrationRunOutcome
impl Clone for MigrationRunOutcome
Source§fn clone(&self) -> MigrationRunOutcome
fn clone(&self) -> MigrationRunOutcome
Returns a duplicate of the value. Read more
1.0.0 · 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 MigrationRunOutcome
impl Debug for MigrationRunOutcome
Source§impl PartialEq for MigrationRunOutcome
impl PartialEq for MigrationRunOutcome
impl Copy for MigrationRunOutcome
impl Eq for MigrationRunOutcome
impl StructuralPartialEq for MigrationRunOutcome
Auto Trait Implementations§
impl Freeze for MigrationRunOutcome
impl RefUnwindSafe for MigrationRunOutcome
impl Send for MigrationRunOutcome
impl Sync for MigrationRunOutcome
impl Unpin for MigrationRunOutcome
impl UnsafeUnpin for MigrationRunOutcome
impl UnwindSafe for MigrationRunOutcome
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