pub enum DependencyClosureCoverageV1 {
Complete,
Partial {
reasons: Vec<DependencyClosureCoverageReasonV1>,
},
Unavailable {
reasons: Vec<DependencyClosureCoverageReasonV1>,
},
}Expand description
Complete, partial, or unavailable closure coverage.
Variants§
Complete
Every retained source declaration maps to exact content and the source domain is complete.
Partial
Retained mappings are positive evidence but do not establish a full closure.
Fields
§
reasons: Vec<DependencyClosureCoverageReasonV1>Sorted unique reasons completeness could not be established.
The source declaration domain itself could not be projected.
Implementations§
Source§impl DependencyClosureCoverageV1
impl DependencyClosureCoverageV1
Sourcepub fn reasons(&self) -> &[DependencyClosureCoverageReasonV1]
pub fn reasons(&self) -> &[DependencyClosureCoverageReasonV1]
Stable incompleteness reasons, empty only for complete coverage.
Sourcepub const fn is_complete(&self) -> bool
pub const fn is_complete(&self) -> bool
Whether this coverage proves the exact V1 dependency closure.
Trait Implementations§
Source§impl Clone for DependencyClosureCoverageV1
impl Clone for DependencyClosureCoverageV1
Source§fn clone(&self) -> DependencyClosureCoverageV1
fn clone(&self) -> DependencyClosureCoverageV1
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 DependencyClosureCoverageV1
impl Debug for DependencyClosureCoverageV1
Source§impl<'de> Deserialize<'de> for DependencyClosureCoverageV1
impl<'de> Deserialize<'de> for DependencyClosureCoverageV1
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for DependencyClosureCoverageV1
impl StructuralPartialEq for DependencyClosureCoverageV1
Auto Trait Implementations§
impl Freeze for DependencyClosureCoverageV1
impl RefUnwindSafe for DependencyClosureCoverageV1
impl Send for DependencyClosureCoverageV1
impl Sync for DependencyClosureCoverageV1
impl Unpin for DependencyClosureCoverageV1
impl UnsafeUnpin for DependencyClosureCoverageV1
impl UnwindSafe for DependencyClosureCoverageV1
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