pub enum Tri {
True,
False,
Unknown,
}Expand description
Kleene 3-valued logic state.
Unknown propagates when a claim’s value can’t be decided, so
“audit didn’t assert this claim” and “audit asserted this claim
false” stay distinct end to end.
Variants§
True
Claim asserted true.
False
Claim asserted false.
Unknown
Claim not asserted (or expression result undetermined).
Trait Implementations§
impl Copy for Tri
impl Eq for Tri
impl StructuralPartialEq for Tri
Auto Trait Implementations§
impl Freeze for Tri
impl RefUnwindSafe for Tri
impl Send for Tri
impl Sync for Tri
impl Unpin for Tri
impl UnsafeUnpin for Tri
impl UnwindSafe for Tri
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