pub enum DependencyGraphDiagnosticKind {
MissingMetadata,
MetadataFailure,
MalformedSrcinfo,
Cycle,
DepthLimit,
NodeLimit,
Timeout,
MalformedConstraint,
IncompatibleConstraints,
Conflict,
MetadataProtocol,
}Expand description
What: Categorize non-fatal graph-resolution diagnostics.
Inputs:
- Metadata, bound, graph, and conflict events observed during resolution.
Output:
- Provides stable categories for actionable caller diagnostics.
Details:
- Diagnostics preserve partial graph results instead of silently omitting failed branches.
Variants§
MissingMetadata
Metadata was not available for a requested package or virtual dependency.
MetadataFailure
The injected provider returned a transport, helper, or other retrieval failure.
MalformedSrcinfo
Returned .SRCINFO text did not contain the selected requested package output.
Cycle
A dependency path returned to a package already in the active traversal path.
DepthLimit
A child exceeded the configured transitive depth.
NodeLimit
Adding a node exceeded the configured per-run node limit.
Timeout
The provider exceeded the configured metadata timeout.
MalformedConstraint
A dependency requirement used an unsupported operator or omitted its version.
IncompatibleConstraints
Multiple valid requirements for one selected package have an empty intersection.
Conflict
A declared package or virtual conflict matched another resolved node.
MetadataProtocol
A provider returned no response or a response for an unrequested package.
Trait Implementations§
Source§impl Clone for DependencyGraphDiagnosticKind
impl Clone for DependencyGraphDiagnosticKind
Source§fn clone(&self) -> DependencyGraphDiagnosticKind
fn clone(&self) -> DependencyGraphDiagnosticKind
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for DependencyGraphDiagnosticKind
Source§impl<'de> Deserialize<'de> for DependencyGraphDiagnosticKind
impl<'de> Deserialize<'de> for DependencyGraphDiagnosticKind
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>,
impl Eq for DependencyGraphDiagnosticKind
impl StructuralPartialEq for DependencyGraphDiagnosticKind
Auto Trait Implementations§
impl Freeze for DependencyGraphDiagnosticKind
impl RefUnwindSafe for DependencyGraphDiagnosticKind
impl Send for DependencyGraphDiagnosticKind
impl Sync for DependencyGraphDiagnosticKind
impl Unpin for DependencyGraphDiagnosticKind
impl UnsafeUnpin for DependencyGraphDiagnosticKind
impl UnwindSafe for DependencyGraphDiagnosticKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.