pub struct JigsawPlan { /* private fields */ }Implementations§
Source§impl JigsawPlan
impl JigsawPlan
pub fn store_status( &self, store: &SnapshotStore<ReadOnly>, expected: impl Fn(&ProjectName) -> Option<ExpectedExtraction>, ) -> StoreStatus
pub fn nothing_stored(&self) -> StoreStatus
Sourcepub fn all_missing(&self) -> UnstockedPlan
pub fn all_missing(&self) -> UnstockedPlan
What load would report against a store with nothing in it.
pub fn load( self, store: &SnapshotStore<ReadOnly>, expected: impl Fn(&ProjectName) -> Option<ExpectedExtraction> + Sync, ) -> Result<LoadedPlan, UnstockedPlan>
Source§impl JigsawPlan
impl JigsawPlan
pub fn host(&self) -> &HostName
pub fn host_project(&self) -> &ProjectName
pub fn otp_project(&self) -> &ProjectName
pub fn series(&self) -> HostSeries
pub fn releases(&self) -> &SeriesReleases<HostRelease>
pub fn otp_lines(&self) -> &NonEmpty<OtpLine>
pub fn untracked_dependencies(&self) -> &BTreeSet<DependencyName>
pub fn excluded_otp_apps(&self) -> &BTreeSet<ApplicationName>
pub fn host_facts(&self) -> &HostFactsDigest
pub fn tag_source(&self) -> TagSourceKind
pub fn extractor_version(&self) -> &ExtractorVersion
pub fn cache_key(&self) -> &PlanCacheKey
pub fn erlang_majors(&self) -> BTreeSet<ErlangMajor>
pub fn required(&self) -> BTreeSet<Pin>
Source§impl JigsawPlan
impl JigsawPlan
pub fn to_wire(&self, status: &StoreStatus) -> JigsawPlanPayload
Trait Implementations§
Source§impl Clone for JigsawPlan
impl Clone for JigsawPlan
Source§impl Debug for JigsawPlan
impl Debug for JigsawPlan
impl Eq for JigsawPlan
Source§impl PartialEq for JigsawPlan
impl PartialEq for JigsawPlan
impl StructuralPartialEq for JigsawPlan
Auto Trait Implementations§
impl Forget for JigsawPlan
impl Freeze for JigsawPlan
impl Move for JigsawPlan
impl RefUnwindSafe for JigsawPlan
impl Send for JigsawPlan
impl Sync for JigsawPlan
impl Unpin for JigsawPlan
impl UnsafeUnpin for JigsawPlan
impl UnwindSafe for JigsawPlan
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