pub trait IssueDetector: Debug {
// Required methods
fn detect_issues(
&self,
context: &DebugContext<'_>,
) -> Result<Vec<DetectedIssue>>;
fn get_detector_name(&self) -> &str;
fn get_supported_issues(&self) -> Vec<IssueType>;
}Expand description
Issue detector trait for modular detection
Required Methods§
fn detect_issues( &self, context: &DebugContext<'_>, ) -> Result<Vec<DetectedIssue>>
fn get_detector_name(&self) -> &str
fn get_supported_issues(&self) -> Vec<IssueType>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".