pub enum TargetCompositionError<E> {
UnconsumedRequired {
target: ContributionTargetId,
contribution: ContributionId,
qualifier: QualifierId,
contributors: Vec<ModuleId>,
},
Target(E),
}Expand description
A target-owned build failure or an unconsumed required declaration.
Variants§
UnconsumedRequired
The active composition has required declarations but no matching target.
Fields
§
target: ContributionTargetIdThe target that was expected to consume the declarations.
§
contribution: ContributionIdThe contribution kind that was left unconsumed.
§
qualifier: QualifierIdThe qualifier whose active composition contains the declarations.
Target(E)
The selected target rejected the declarations.
Trait Implementations§
Source§impl<E: Debug> Debug for TargetCompositionError<E>
impl<E: Debug> Debug for TargetCompositionError<E>
Source§impl<E: Display> Display for TargetCompositionError<E>
impl<E: Display> Display for TargetCompositionError<E>
impl<E: Eq> Eq for TargetCompositionError<E>
Source§impl<E: Error + 'static> Error for TargetCompositionError<E>
impl<E: Error + 'static> Error for TargetCompositionError<E>
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl<E: PartialEq> PartialEq for TargetCompositionError<E>
impl<E: PartialEq> PartialEq for TargetCompositionError<E>
impl<E: PartialEq> StructuralPartialEq for TargetCompositionError<E>
Auto Trait Implementations§
impl<E> Freeze for TargetCompositionError<E>where
E: Freeze,
impl<E> RefUnwindSafe for TargetCompositionError<E>where
E: RefUnwindSafe,
impl<E> Send for TargetCompositionError<E>where
E: Send,
impl<E> Sync for TargetCompositionError<E>where
E: Sync,
impl<E> Unpin for TargetCompositionError<E>where
E: Unpin,
impl<E> UnsafeUnpin for TargetCompositionError<E>where
E: UnsafeUnpin,
impl<E> UnwindSafe for TargetCompositionError<E>where
E: UnwindSafe,
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