pub enum ModuleProvenance {
CoveredBySnapshot,
FirstParty {
path: RelativePath,
},
Unknown,
}Expand description
How a called module is classified for this axis. Only FirstParty
is resolved; the other two are withheld, so a dependency call or an
OTP call cannot be flagged by construction.
Variants§
CoveredBySnapshot
A pin snapshot (tracked dep or self-pin) already resolves this module’s calls: defer to the snapshot axis.
FirstParty
A first-party .erl module present on the target tree, covered
by no snapshot: this axis resolves it live against its exports.
Fields
§
path: RelativePathUnknown
Covered by no snapshot and absent from the tree (OTP, stdlib, or a genuinely-missing module): withhold, the build is the backstop.
Trait Implementations§
Source§impl Clone for ModuleProvenance
impl Clone for ModuleProvenance
Source§fn clone(&self) -> ModuleProvenance
fn clone(&self) -> ModuleProvenance
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 ModuleProvenance
impl Debug for ModuleProvenance
impl Eq for ModuleProvenance
Source§impl PartialEq for ModuleProvenance
impl PartialEq for ModuleProvenance
impl StructuralPartialEq for ModuleProvenance
Auto Trait Implementations§
impl Freeze for ModuleProvenance
impl RefUnwindSafe for ModuleProvenance
impl Send for ModuleProvenance
impl Sync for ModuleProvenance
impl Unpin for ModuleProvenance
impl UnsafeUnpin for ModuleProvenance
impl UnwindSafe for ModuleProvenance
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