pub enum InteractionDecision {
Allow,
Deprioritize,
Suppress,
}Expand description
What defense recommends doing with one existing candidate.
Ordering is meaningful: a more restrictive decision is greater.
Variants§
Allow
Keep the action unchanged.
Deprioritize
Keep the action but lower its priority (a soft, advisory signal).
Suppress
Remove the action from the shadow plan.
Trait Implementations§
Source§impl Clone for InteractionDecision
impl Clone for InteractionDecision
Source§fn clone(&self) -> InteractionDecision
fn clone(&self) -> InteractionDecision
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 moreimpl Copy for InteractionDecision
Source§impl Debug for InteractionDecision
impl Debug for InteractionDecision
impl Eq for InteractionDecision
Source§impl Ord for InteractionDecision
impl Ord for InteractionDecision
Source§fn cmp(&self, other: &InteractionDecision) -> Ordering
fn cmp(&self, other: &InteractionDecision) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for InteractionDecision
impl PartialEq for InteractionDecision
Source§impl PartialOrd for InteractionDecision
impl PartialOrd for InteractionDecision
impl StructuralPartialEq for InteractionDecision
Auto Trait Implementations§
impl Freeze for InteractionDecision
impl RefUnwindSafe for InteractionDecision
impl Send for InteractionDecision
impl Sync for InteractionDecision
impl Unpin for InteractionDecision
impl UnsafeUnpin for InteractionDecision
impl UnwindSafe for InteractionDecision
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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§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