pub struct InstallPlan {
pub tool: ToolIdentity,
pub scope: InstallScope,
pub source_checksum: String,
pub cmx_present: bool,
pub force: bool,
pub targets: Vec<TargetPlan>,
}Expand description
The full installation plan — computed from source metadata, with no writes.
Fields§
§tool: ToolIdentity§scope: InstallScope§source_checksum: String§cmx_present: boolWhether cmx is managing this machine (config or non-empty lock exists).
force: bool§targets: Vec<TargetPlan>Implementations§
Source§impl InstallPlan
impl InstallPlan
Sourcepub fn is_blocked(&self) -> bool
pub fn is_blocked(&self) -> bool
Returns true if any target action is blocked (e.g. RefuseNewer).
Sourcepub fn write_count(&self) -> usize
pub fn write_count(&self) -> usize
The number of targets that will write files to disk.
Trait Implementations§
Source§impl Debug for InstallPlan
impl Debug for InstallPlan
Auto Trait Implementations§
impl Freeze for InstallPlan
impl RefUnwindSafe for InstallPlan
impl Send for InstallPlan
impl Sync for InstallPlan
impl Unpin for InstallPlan
impl UnsafeUnpin for InstallPlan
impl UnwindSafe for InstallPlan
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