pub enum StrictLevel {
Lenient,
Strict,
}Variants§
Lenient
Warn-only for soft violations (asymmetric binding, unused account). Default during migration so back-compat configs keep booting.
Strict
Promote every warning to a hard error. Intended for CI lane
(--check-config) and eventually as the default in V2.
Trait Implementations§
Source§impl Clone for StrictLevel
impl Clone for StrictLevel
Source§fn clone(&self) -> StrictLevel
fn clone(&self) -> StrictLevel
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 StrictLevel
impl Debug for StrictLevel
Source§impl Default for StrictLevel
impl Default for StrictLevel
Source§fn default() -> StrictLevel
fn default() -> StrictLevel
Returns the “default value” for a type. Read more
Source§impl PartialEq for StrictLevel
impl PartialEq for StrictLevel
Source§fn eq(&self, other: &StrictLevel) -> bool
fn eq(&self, other: &StrictLevel) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for StrictLevel
impl Eq for StrictLevel
impl StructuralPartialEq for StrictLevel
Auto Trait Implementations§
impl Freeze for StrictLevel
impl RefUnwindSafe for StrictLevel
impl Send for StrictLevel
impl Sync for StrictLevel
impl Unpin for StrictLevel
impl UnsafeUnpin for StrictLevel
impl UnwindSafe for StrictLevel
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§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.