pub trait TaskAnalyzer:
Debug
+ Send
+ Sync {
// Required methods
fn analyze(
&self,
input: &TaskAnalysisInput,
) -> Result<ProfileHypothesis, TriageError>;
fn name(&self) -> &'static str;
// Provided method
fn shadow_enabled(&self) -> bool { ... }
}Expand description
Analyzes task inputs into ranked profile hypotheses.
Required Methods§
fn analyze( &self, input: &TaskAnalysisInput, ) -> Result<ProfileHypothesis, TriageError>
fn name(&self) -> &'static str
Provided Methods§
Sourcefn shadow_enabled(&self) -> bool
fn shadow_enabled(&self) -> bool
Marks an observation-only analyzer that may run beside rules in shadow mode.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".