pub enum StartCleanupStep {
RestoreThreadRecord,
UnmountVirtualized,
UnwindHydrate,
RestoreCargoConfig,
RestoreManifest,
RewindCheckout {
plan: CheckoutRewindPlan,
},
RollbackThreadRef,
RemoveSelfCreatedDir {
plan: SelfCreatedDirRewindPlan,
},
}Expand description
One reverse-order cleanup action implied by a successfully applied effect.
Order from plan_start_cleanup is reverse-apply (last applied first),
matching the atomic mutation rewind ledger. FS/ref execution stays CLI-owned.
Variants§
RestoreThreadRecord
Converge thread records back to the pre-start snapshot.
UnmountVirtualized
Tear down the virtualized mount if this start established it.
UnwindHydrate
Unlink hydrate dep symlinks (+ restore the exclude file if written).
RestoreCargoConfig
Restore prior cargo config bytes, or remove a config this start created.
RestoreManifest
Restore prior manifest bytes, or remove a manifest this start created.
RewindCheckout
Clear per-root materialize sidecars, then apply the checkout-dir rewind.
Fields
§
plan: CheckoutRewindPlanRollbackThreadRef
CAS-guarded rollback of the thread ref to its pre-start expectation.
RemoveSelfCreatedDir
Remove a self-created target dir (create-step inverse).
Fields
Trait Implementations§
Source§impl Clone for StartCleanupStep
impl Clone for StartCleanupStep
Source§fn clone(&self) -> StartCleanupStep
fn clone(&self) -> StartCleanupStep
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 StartCleanupStep
impl Debug for StartCleanupStep
impl Eq for StartCleanupStep
Source§impl PartialEq for StartCleanupStep
impl PartialEq for StartCleanupStep
impl StructuralPartialEq for StartCleanupStep
Auto Trait Implementations§
impl Freeze for StartCleanupStep
impl RefUnwindSafe for StartCleanupStep
impl Send for StartCleanupStep
impl Sync for StartCleanupStep
impl Unpin for StartCleanupStep
impl UnsafeUnpin for StartCleanupStep
impl UnwindSafe for StartCleanupStep
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