pub trait IssueDetector:
Send
+ Sync
+ 'static {
// Provided methods
fn detect(
&mut self,
_context: &WorkspaceContext,
) -> Result<bool, Box<dyn Error>> { ... }
fn severity(&self) -> IssueSeverity { ... }
fn title(&self) -> String { ... }
fn description(&self) -> String { ... }
fn name(&self) -> String { ... }
fn instances(&self) -> BTreeMap<(String, usize, String), i64> { ... }
}