Skip to main content

TaskAnalyzer

Trait TaskAnalyzer 

Source
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§

Source

fn analyze( &self, input: &TaskAnalysisInput, ) -> Result<ProfileHypothesis, TriageError>

Source

fn name(&self) -> &'static str

Provided Methods§

Source

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".

Implementors§