pub enum RuleAvailabilityFailure {
DisabledByPackage {
required: Vec<PackageName>,
active: Vec<PackageName>,
},
ProducedTargetUnavailable {
target: RuleTargetKey,
active: Vec<PackageName>,
},
}Variants§
DisabledByPackage
Trait Implementations§
Source§impl Clone for RuleAvailabilityFailure
impl Clone for RuleAvailabilityFailure
Source§fn clone(&self) -> RuleAvailabilityFailure
fn clone(&self) -> RuleAvailabilityFailure
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 RuleAvailabilityFailure
impl Debug for RuleAvailabilityFailure
Source§impl Display for RuleAvailabilityFailure
impl Display for RuleAvailabilityFailure
impl Eq for RuleAvailabilityFailure
Source§impl PartialEq for RuleAvailabilityFailure
impl PartialEq for RuleAvailabilityFailure
Source§fn eq(&self, other: &RuleAvailabilityFailure) -> bool
fn eq(&self, other: &RuleAvailabilityFailure) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RuleAvailabilityFailure
Auto Trait Implementations§
impl Freeze for RuleAvailabilityFailure
impl RefUnwindSafe for RuleAvailabilityFailure
impl Send for RuleAvailabilityFailure
impl Sync for RuleAvailabilityFailure
impl Unpin for RuleAvailabilityFailure
impl UnsafeUnpin for RuleAvailabilityFailure
impl UnwindSafe for RuleAvailabilityFailure
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.