pub enum EnableNoEffectReason {
NotEnabled,
IgnoredForFile,
}Expand description
Why an inline enable cannot take effect.
The two are separate settings, so the message names the one actually in play rather than sending the reader to a knob their config does not have set.
Variants§
NotEnabled
Configuration did not enable the rule for this run at all.
IgnoredForFile
Configuration enabled the rule, but per-file-ignores suppresses it for
this particular file.
Trait Implementations§
Source§impl Clone for EnableNoEffectReason
impl Clone for EnableNoEffectReason
Source§fn clone(&self) -> EnableNoEffectReason
fn clone(&self) -> EnableNoEffectReason
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 moreimpl Copy for EnableNoEffectReason
Source§impl Debug for EnableNoEffectReason
impl Debug for EnableNoEffectReason
impl Eq for EnableNoEffectReason
Source§impl PartialEq for EnableNoEffectReason
impl PartialEq for EnableNoEffectReason
impl StructuralPartialEq for EnableNoEffectReason
Auto Trait Implementations§
impl Freeze for EnableNoEffectReason
impl RefUnwindSafe for EnableNoEffectReason
impl Send for EnableNoEffectReason
impl Sync for EnableNoEffectReason
impl Unpin for EnableNoEffectReason
impl UnsafeUnpin for EnableNoEffectReason
impl UnwindSafe for EnableNoEffectReason
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.