pub enum MigrationOutcome {
Migrated {
updater: Updater,
},
MigratedIndeterminate {
updater: Updater,
diagnostic: String,
},
}Expand description
Result of intentionally moving an executable’s durable state authority.
Variants§
Migrated
The authority rename and parent-directory sync both completed.
MigratedIndeterminate
The authority rename completed, but its parent-directory sync failed.
The caller must retain and use updater: returning to the old updater
after the authority has changed would select a state path that is no
longer authoritative. Log diagnostic and retry the migration later if
the durability boundary must be confirmed.
Implementations§
Trait Implementations§
Source§impl Clone for MigrationOutcome
impl Clone for MigrationOutcome
Source§fn clone(&self) -> MigrationOutcome
fn clone(&self) -> MigrationOutcome
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 moreAuto Trait Implementations§
impl Freeze for MigrationOutcome
impl RefUnwindSafe for MigrationOutcome
impl Send for MigrationOutcome
impl Sync for MigrationOutcome
impl Unpin for MigrationOutcome
impl UnsafeUnpin for MigrationOutcome
impl UnwindSafe for MigrationOutcome
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