pub enum DependencyMetadataResponse {
Found(DependencyMetadata),
Missing {
requested_name: String,
reason: String,
},
Failure {
requested_name: String,
message: String,
},
}Expand description
What: Describe a batched injected metadata-provider result.
Inputs:
- A requested name and either returned metadata, an absence reason, or a retrieval failure.
Output:
- Lets graph resolution retain partial results and report actionable diagnostics.
Details:
- Provider failures are non-fatal for sibling branches and never cause fallback AUR inference.
Variants§
Found(DependencyMetadata)
Verified metadata was returned for a requested package or virtual dependency.
Missing
No verified metadata exists for the requested name.
Fields
Failure
Metadata retrieval failed through a network, helper, or provider-specific error.
Trait Implementations§
Source§impl Clone for DependencyMetadataResponse
impl Clone for DependencyMetadataResponse
Source§fn clone(&self) -> DependencyMetadataResponse
fn clone(&self) -> DependencyMetadataResponse
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 DependencyMetadataResponse
impl Debug for DependencyMetadataResponse
impl Eq for DependencyMetadataResponse
impl StructuralPartialEq for DependencyMetadataResponse
Auto Trait Implementations§
impl Freeze for DependencyMetadataResponse
impl RefUnwindSafe for DependencyMetadataResponse
impl Send for DependencyMetadataResponse
impl Sync for DependencyMetadataResponse
impl Unpin for DependencyMetadataResponse
impl UnsafeUnpin for DependencyMetadataResponse
impl UnwindSafe for DependencyMetadataResponse
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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
Compare self to
key and return true if they are equal.