pub enum GuardOutput {
Deterministic {
guard_name: String,
verdict: bool,
details: Option<String>,
},
Advisory(AdvisorySignal),
}Expand description
Classification of a guard’s output: deterministic verdict or advisory signal.
Variants§
Deterministic
A deterministic verdict (allow or deny).
Advisory(AdvisorySignal)
A non-blocking advisory signal.
Trait Implementations§
Source§impl Clone for GuardOutput
impl Clone for GuardOutput
Source§fn clone(&self) -> GuardOutput
fn clone(&self) -> GuardOutput
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 GuardOutput
impl Debug for GuardOutput
Source§impl<'de> Deserialize<'de> for GuardOutput
impl<'de> Deserialize<'de> for GuardOutput
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
Auto Trait Implementations§
impl Freeze for GuardOutput
impl RefUnwindSafe for GuardOutput
impl Send for GuardOutput
impl Sync for GuardOutput
impl Unpin for GuardOutput
impl UnsafeUnpin for GuardOutput
impl UnwindSafe for GuardOutput
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