pub struct InstallPlan {
pub digest: ReviewDigest,
pub pin: PluginPin,
pub plugin_root: PathBuf,
pub staging: StagingLayout,
/* private fields */
}Expand description
An install plan awaiting human review: staged content + review digest + pinned values.
commit_install only after human confirmation (product-level gate);
InstallPlan::discard clears the staging area if not installing.
Fields§
§digest: ReviewDigestReview digest (full manifest + capability breakdown + absolute paths).
pin: PluginPinPinned values (paths already absolutized against the final install dir).
plugin_root: PathBufFinal install directory (<plugins_root>/<name>).
staging: StagingLayoutStaging layout.
Implementations§
Source§impl InstallPlan
impl InstallPlan
Trait Implementations§
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