pub enum EnforcementMode {
Audit,
Enforce,
Adaptive,
}Expand description
Enforcement mode for action policies.
Controls whether violations are logged, blocked, or handled adaptively based on risk level.
Variants§
Audit
Log violations but allow all actions.
Enforce
Block violations and return a deny decision.
Adaptive
Block only high-risk violations, warn on others.
Trait Implementations§
Source§impl Clone for EnforcementMode
impl Clone for EnforcementMode
Source§fn clone(&self) -> EnforcementMode
fn clone(&self) -> EnforcementMode
Returns a duplicate of the value. Read more
1.0.0 · 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 EnforcementMode
impl Debug for EnforcementMode
Source§impl Display for EnforcementMode
impl Display for EnforcementMode
Source§impl PartialEq for EnforcementMode
impl PartialEq for EnforcementMode
impl Eq for EnforcementMode
impl StructuralPartialEq for EnforcementMode
Auto Trait Implementations§
impl Freeze for EnforcementMode
impl RefUnwindSafe for EnforcementMode
impl Send for EnforcementMode
impl Sync for EnforcementMode
impl Unpin for EnforcementMode
impl UnsafeUnpin for EnforcementMode
impl UnwindSafe for EnforcementMode
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§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.