pub struct LoadedPlan { /* private fields */ }Implementations§
Source§impl LoadedPlan
impl LoadedPlan
pub fn plan(&self) -> &JigsawPlan
pub fn snapshot(&self, pin: &Pin) -> Option<&Snapshot<Canonical>>
pub fn snapshots(&self) -> &BTreeMap<Pin, Snapshot<Canonical>>
Sourcepub fn surfaces(&self) -> PlanSurfaces<'_>
pub fn surfaces(&self) -> PlanSurfaces<'_>
Borrowing views of every release and OTP tag in the plan. They are built here, on each call, because a view that borrows the snapshots cannot be stored next to them.
pub fn store_digest(&self) -> &StoreDigest
Sourcepub fn build_app_names(&self) -> &BTreeSet<ApplicationName>
pub fn build_app_names(&self) -> &BTreeSet<ApplicationName>
Every app the build patch’s surface provides: the host snapshot’s apps, the pinned dependency snapshots’ apps and the apps of every OTP tag in the run.
Trait Implementations§
Auto Trait Implementations§
impl Forget for LoadedPlan
impl Freeze for LoadedPlan
impl Move for LoadedPlan
impl RefUnwindSafe for LoadedPlan
impl Send for LoadedPlan
impl Sync for LoadedPlan
impl Unpin for LoadedPlan
impl UnsafeUnpin for LoadedPlan
impl UnwindSafe for LoadedPlan
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