pub enum MistakeCategory {
BugPattern,
PerformanceAntiPattern,
SecurityVulnerability,
ApiMisuse,
CodeSmell,
}Expand description
Category of mistake that can be reported.
Variants§
BugPattern
A bug pattern that was discovered.
PerformanceAntiPattern
A performance anti-pattern.
SecurityVulnerability
A security vulnerability pattern.
ApiMisuse
An API misuse pattern.
CodeSmell
A code smell or maintainability issue.
Trait Implementations§
Source§impl Clone for MistakeCategory
impl Clone for MistakeCategory
Source§fn clone(&self) -> MistakeCategory
fn clone(&self) -> MistakeCategory
Returns a duplicate 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 MistakeCategory
impl Debug for MistakeCategory
Source§impl<'de> Deserialize<'de> for MistakeCategory
impl<'de> Deserialize<'de> for MistakeCategory
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 Display for MistakeCategory
impl Display for MistakeCategory
Source§impl Hash for MistakeCategory
impl Hash for MistakeCategory
Source§impl PartialEq for MistakeCategory
impl PartialEq for MistakeCategory
Source§impl Serialize for MistakeCategory
impl Serialize for MistakeCategory
impl Eq for MistakeCategory
impl StructuralPartialEq for MistakeCategory
Auto Trait Implementations§
impl Freeze for MistakeCategory
impl RefUnwindSafe for MistakeCategory
impl Send for MistakeCategory
impl Sync for MistakeCategory
impl Unpin for MistakeCategory
impl UnsafeUnpin for MistakeCategory
impl UnwindSafe for MistakeCategory
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.