#[non_exhaustive]pub enum ExclusionReason {
PolicySuppressed,
DefenseSuppressed,
RequirementsNotMet,
NoEligibleHypothesis,
NoEligibleVerificationTarget,
RiskLimitExceeded {
actual: RiskScore,
maximum: RiskScore,
},
BelowMinimumUtility {
actual: UtilityScore,
minimum: UtilityScore,
},
DependencyUnavailable {
prerequisite: String,
},
BudgetExceeded {
required: u64,
remaining: u64,
},
}Expand description
Reason a registered action was not selected.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
PolicySuppressed
An adaptive or operator policy suppressed this action.
DefenseSuppressed
Observed defensive posture suppressed this action, distinct from an adaptive or operator policy suppression so the two never conflate.
RequirementsNotMet
The action’s expression did not match the snapshot.
NoEligibleHypothesis
No supported hypothesis met the selector threshold.
NoEligibleVerificationTarget
A distinct verification target did not resolve to a pre-existing, supported hypothesis in the planning snapshot.
RiskLimitExceeded
Action risk exceeded the planning context limit.
BelowMinimumUtility
Calculated utility was below the context threshold.
Fields
§
actual: UtilityScoreCalculated action utility.
§
minimum: UtilityScoreMinimum accepted utility.
A prerequisite was not eligible for selection.
BudgetExceeded
The action and its unselected dependencies did not fit the budget.
Trait Implementations§
Source§impl Clone for ExclusionReason
impl Clone for ExclusionReason
Source§fn clone(&self) -> ExclusionReason
fn clone(&self) -> ExclusionReason
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 ExclusionReason
impl Debug for ExclusionReason
impl Eq for ExclusionReason
Source§impl PartialEq for ExclusionReason
impl PartialEq for ExclusionReason
Source§impl Serialize for ExclusionReason
impl Serialize for ExclusionReason
impl StructuralPartialEq for ExclusionReason
Auto Trait Implementations§
impl Freeze for ExclusionReason
impl RefUnwindSafe for ExclusionReason
impl Send for ExclusionReason
impl Sync for ExclusionReason
impl Unpin for ExclusionReason
impl UnsafeUnpin for ExclusionReason
impl UnwindSafe for ExclusionReason
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more