pub enum AttestationResult {
Passed,
Failed {
detail: String,
},
Inconclusive {
detail: String,
},
}Expand description
Whether the verification succeeded. Inconclusive is its own
state because some checkers (e.g. random-sampling spec checks
over an unbounded input space) can pass within their budget
without proving the contract holds in general.
Variants§
Trait Implementations§
Source§impl Clone for AttestationResult
impl Clone for AttestationResult
Source§fn clone(&self) -> AttestationResult
fn clone(&self) -> AttestationResult
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 moreSource§impl Debug for AttestationResult
impl Debug for AttestationResult
Source§impl<'de> Deserialize<'de> for AttestationResult
impl<'de> Deserialize<'de> for AttestationResult
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 AttestationResult
impl PartialEq for AttestationResult
Source§fn eq(&self, other: &AttestationResult) -> bool
fn eq(&self, other: &AttestationResult) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AttestationResult
impl Serialize for AttestationResult
impl Eq for AttestationResult
impl StructuralPartialEq for AttestationResult
Auto Trait Implementations§
impl Freeze for AttestationResult
impl RefUnwindSafe for AttestationResult
impl Send for AttestationResult
impl Sync for AttestationResult
impl Unpin for AttestationResult
impl UnsafeUnpin for AttestationResult
impl UnwindSafe for AttestationResult
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.