pub enum VerifyOutcome {
NotPerformed,
Passed,
Failed,
}Expand description
What a verify node actually did.
Three states rather than a boolean, because “the check passed” and “there was no check” are different facts and a boolean can only tell you one of them. Agent IR records a verifier’s name and signature and carries no way to execute one, so a backend that cannot perform a check says so here instead of reporting a pass nothing earned.
See Runtime 0.2 §1.
Variants§
NotPerformed
The backend has no implementation for this verifier. Not a failure: the property is simply unchecked, and the run says so.
Passed
Failed
Implementations§
Source§impl VerifyOutcome
impl VerifyOutcome
Trait Implementations§
Source§impl Clone for VerifyOutcome
impl Clone for VerifyOutcome
Source§fn clone(&self) -> VerifyOutcome
fn clone(&self) -> VerifyOutcome
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for VerifyOutcome
Source§impl Debug for VerifyOutcome
impl Debug for VerifyOutcome
Source§impl<'de> Deserialize<'de> for VerifyOutcome
impl<'de> Deserialize<'de> for VerifyOutcome
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
impl Eq for VerifyOutcome
Source§impl PartialEq for VerifyOutcome
impl PartialEq for VerifyOutcome
Source§impl Serialize for VerifyOutcome
impl Serialize for VerifyOutcome
impl StructuralPartialEq for VerifyOutcome
Auto Trait Implementations§
impl Freeze for VerifyOutcome
impl RefUnwindSafe for VerifyOutcome
impl Send for VerifyOutcome
impl Sync for VerifyOutcome
impl Unpin for VerifyOutcome
impl UnsafeUnpin for VerifyOutcome
impl UnwindSafe for VerifyOutcome
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