pub enum Verdict {
Allow,
Reject {
reason: Option<String>,
},
Taint {
reason: Option<String>,
},
}Expand description
The scanner’s judgment on one candidate fact.
Variants§
Allow
Admit the fact unchanged.
Reject
Refuse the write; nothing is persisted.
Taint
Admit the fact but mark it (detect-only, like retraction taint).
Trait Implementations§
impl Eq for Verdict
impl StructuralPartialEq for Verdict
Auto Trait Implementations§
impl Freeze for Verdict
impl RefUnwindSafe for Verdict
impl Send for Verdict
impl Sync for Verdict
impl Unpin for Verdict
impl UnsafeUnpin for Verdict
impl UnwindSafe for Verdict
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