pub enum LintIssueType {
SourceInfo(SourceInfoIssue),
}Expand description
The type of issue that may be encountered during linting.
This is used to categorize lint issues and to provide detailed data for good error messages for each type of issue.
Variants§
SourceInfo(SourceInfoIssue)
All issues that can be encountered when linting a SRCINFO file.
Trait Implementations§
Source§impl Clone for LintIssueType
impl Clone for LintIssueType
Source§fn clone(&self) -> LintIssueType
fn clone(&self) -> LintIssueType
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 LintIssueType
impl Debug for LintIssueType
Source§impl<'de> Deserialize<'de> for LintIssueType
impl<'de> Deserialize<'de> for LintIssueType
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 From<SourceInfoIssue> for LintIssueType
impl From<SourceInfoIssue> for LintIssueType
Source§fn from(issue: SourceInfoIssue) -> Self
fn from(issue: SourceInfoIssue) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for LintIssueType
impl RefUnwindSafe for LintIssueType
impl Send for LintIssueType
impl Sync for LintIssueType
impl Unpin for LintIssueType
impl UnwindSafe for LintIssueType
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