pub struct ThreadPromotePlan {
pub using_default_path: bool,
pub target_path: PathBuf,
pub clean_worktree: CleanWorktreeGuard,
pub unmount_virtualized: bool,
pub in_place_conversion_candidate: Option<PathBuf>,
pub resulting_mode: ThreadMode,
pub resulting_state: ThreadState,
}Expand description
Pure plan for heddle thread promote.
Materialization, mount teardown RPCs, and same-inode path confirmation remain with the caller.
Fields§
§using_default_path: boolTrue when the caller did not supply --path.
target_path: PathBuf§clean_worktree: CleanWorktreeGuard§unmount_virtualized: bool§in_place_conversion_candidate: Option<PathBuf>Candidate checkout to tear down before rematerializing into the default
path (in-place Materialized/Solid conversion). Caller must still confirm
.heddle presence and path identity before removing.
resulting_mode: ThreadModeResulting workspace mode after a successful promote.
resulting_state: ThreadStateResulting lifecycle state after a successful promote.
Trait Implementations§
Source§impl Clone for ThreadPromotePlan
impl Clone for ThreadPromotePlan
Source§fn clone(&self) -> ThreadPromotePlan
fn clone(&self) -> ThreadPromotePlan
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 ThreadPromotePlan
impl Debug for ThreadPromotePlan
impl Eq for ThreadPromotePlan
Source§impl PartialEq for ThreadPromotePlan
impl PartialEq for ThreadPromotePlan
impl StructuralPartialEq for ThreadPromotePlan
Auto Trait Implementations§
impl Freeze for ThreadPromotePlan
impl RefUnwindSafe for ThreadPromotePlan
impl Send for ThreadPromotePlan
impl Sync for ThreadPromotePlan
impl Unpin for ThreadPromotePlan
impl UnsafeUnpin for ThreadPromotePlan
impl UnwindSafe for ThreadPromotePlan
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