Enum cwe_checker_lib::utils::debug::TerminationPolicy
source · #[non_exhaustive]pub enum TerminationPolicy {
KeepRunning,
EarlyExit,
Panic,
}
Expand description
Selects whether the analysis is aborted after reaching the point of interest.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
source§impl Clone for TerminationPolicy
impl Clone for TerminationPolicy
source§fn clone(&self) -> TerminationPolicy
fn clone(&self) -> TerminationPolicy
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 TerminationPolicy
impl Debug for TerminationPolicy
source§impl Default for TerminationPolicy
impl Default for TerminationPolicy
source§fn default() -> TerminationPolicy
fn default() -> TerminationPolicy
Returns the “default value” for a type. Read more
source§impl PartialEq for TerminationPolicy
impl PartialEq for TerminationPolicy
source§fn eq(&self, other: &TerminationPolicy) -> bool
fn eq(&self, other: &TerminationPolicy) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for TerminationPolicy
impl Eq for TerminationPolicy
impl StructuralEq for TerminationPolicy
impl StructuralPartialEq for TerminationPolicy
Auto Trait Implementations§
impl RefUnwindSafe for TerminationPolicy
impl Send for TerminationPolicy
impl Sync for TerminationPolicy
impl Unpin for TerminationPolicy
impl UnwindSafe for TerminationPolicy
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.