pub enum DecisionCause {
Rule(RuleCitation),
Default {
caller_block: bool,
},
RuntimeInvariant {
reason: String,
},
Unexplained,
}Variants§
Rule(RuleCitation)
A rule matched.
Default
No rule matched. caller_block is whether the caller has any rules.
RuntimeInvariant
A runtime invariant refused the call ahead of, or instead of, the policy:
an unattributable caller, main calling a main_denial capability, a read-only
volume, a quota or egress refusal, or a path the policy could not normalize.
Unexplained
The installed policy does not explain its decisions.
Trait Implementations§
Source§impl Clone for DecisionCause
impl Clone for DecisionCause
Source§impl Debug for DecisionCause
impl Debug for DecisionCause
Source§impl<'de> Deserialize<'de> for DecisionCause
impl<'de> Deserialize<'de> for DecisionCause
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for DecisionCause
impl PartialEq for DecisionCause
Source§impl Serialize for DecisionCause
impl Serialize for DecisionCause
impl StructuralPartialEq for DecisionCause
Auto Trait Implementations§
impl Freeze for DecisionCause
impl RefUnwindSafe for DecisionCause
impl Send for DecisionCause
impl Sync for DecisionCause
impl Unpin for DecisionCause
impl UnsafeUnpin for DecisionCause
impl UnwindSafe for DecisionCause
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