Enum pdbtbx::StrictnessLevel
source · pub enum StrictnessLevel {
Strict,
Medium,
Loose,
}
Expand description
The strictness to operate in, this defines at which ErrorLevel
the program should stop execution upon finding an error.
Variants§
Strict
With Strict
the program will always stop execution upon finding an error.
Medium
With Medium
the program will allow ErrorLevel::GeneralWarning
.
Loose
With Loose
the program will allow ErrorLevel::GeneralWarning
and ErrorLevel::LooseWarning
.
Trait Implementations§
source§impl Clone for StrictnessLevel
impl Clone for StrictnessLevel
source§fn clone(&self) -> StrictnessLevel
fn clone(&self) -> StrictnessLevel
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 StrictnessLevel
impl Debug for StrictnessLevel
source§impl Display for StrictnessLevel
impl Display for StrictnessLevel
source§impl PartialEq<StrictnessLevel> for StrictnessLevel
impl PartialEq<StrictnessLevel> for StrictnessLevel
source§fn eq(&self, other: &StrictnessLevel) -> bool
fn eq(&self, other: &StrictnessLevel) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for StrictnessLevel
impl Eq for StrictnessLevel
impl StructuralEq for StrictnessLevel
impl StructuralPartialEq for StrictnessLevel
Auto Trait Implementations§
impl RefUnwindSafe for StrictnessLevel
impl Send for StrictnessLevel
impl Sync for StrictnessLevel
impl Unpin for StrictnessLevel
impl UnwindSafe for StrictnessLevel
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 Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§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 Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.