pub enum SpecMethod {
Exhaustive,
Random,
Symbolic,
}Expand description
Verification method for AttestationKind::Spec. Mirrors the
tag the spec checker already uses — kept as a string so the
vcs crate doesn’t have to pull spec-checker in.
Variants§
Exhaustive
Exhaustive search; trials is unset.
Random
Random sampling; trials carries the sample count.
Symbolic
Symbolic execution.
Trait Implementations§
Source§impl Clone for SpecMethod
impl Clone for SpecMethod
Source§fn clone(&self) -> SpecMethod
fn clone(&self) -> SpecMethod
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 SpecMethod
impl Debug for SpecMethod
Source§impl<'de> Deserialize<'de> for SpecMethod
impl<'de> Deserialize<'de> for SpecMethod
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 SpecMethod
impl PartialEq for SpecMethod
Source§fn eq(&self, other: &SpecMethod) -> bool
fn eq(&self, other: &SpecMethod) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SpecMethod
impl Serialize for SpecMethod
impl Copy for SpecMethod
impl Eq for SpecMethod
impl StructuralPartialEq for SpecMethod
Auto Trait Implementations§
impl Freeze for SpecMethod
impl RefUnwindSafe for SpecMethod
impl Send for SpecMethod
impl Sync for SpecMethod
impl Unpin for SpecMethod
impl UnsafeUnpin for SpecMethod
impl UnwindSafe for SpecMethod
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.