Enum move_model::model::VerificationScope
source · pub enum VerificationScope {
Public,
All,
Only(String),
OnlyModule(String),
None,
}
Expand description
Verification Scope
Defines what functions to verify.
Variants§
Public
Verify only public functions.
All
Verify all functions.
Only(String)
Verify only one function.
OnlyModule(String)
Verify only functions from the given module.
None
Verify no functions
Implementations§
source§impl VerificationScope
impl VerificationScope
sourcepub fn is_exclusive(&self) -> bool
pub fn is_exclusive(&self) -> bool
Whether verification is exclusive to only one function or module. If set, this overrides all implicitly included verification targets via invariants and friends.
sourcepub fn get_exclusive_verify_function_name(&self) -> Option<&String>
pub fn get_exclusive_verify_function_name(&self) -> Option<&String>
Returns the target function if verification is exclusive to one function.
Trait Implementations§
source§impl Clone for VerificationScope
impl Clone for VerificationScope
source§fn clone(&self) -> VerificationScope
fn clone(&self) -> VerificationScope
Returns a copy of the value. Read more
1.0.0 · 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 VerificationScope
impl Debug for VerificationScope
source§impl Default for VerificationScope
impl Default for VerificationScope
source§impl<'de> Deserialize<'de> for VerificationScope
impl<'de> Deserialize<'de> for VerificationScope
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<VerificationScope> for VerificationScope
impl PartialEq<VerificationScope> for VerificationScope
source§fn eq(&self, other: &VerificationScope) -> bool
fn eq(&self, other: &VerificationScope) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VerificationScope
impl Serialize for VerificationScope
impl Eq for VerificationScope
impl StructuralEq for VerificationScope
impl StructuralPartialEq for VerificationScope
Auto Trait Implementations§
impl RefUnwindSafe for VerificationScope
impl Send for VerificationScope
impl Sync for VerificationScope
impl Unpin for VerificationScope
impl UnwindSafe for VerificationScope
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.