pub trait ProviderAnalyzer {
// Required methods
fn version(&self) -> AnalyzerVersion;
fn classify_transaction(&self, tx: &TransactionView) -> Detection;
// Provided method
fn classify_har(
&self,
har_json: &str,
) -> Result<HarClassificationReport, HarError> { ... }
}Expand description
Interface for versioned provider analyzers.
Required Methods§
Sourcefn version(&self) -> AnalyzerVersion
fn version(&self) -> AnalyzerVersion
Analyzer version identifier.
Sourcefn classify_transaction(&self, tx: &TransactionView) -> Detection
fn classify_transaction(&self, tx: &TransactionView) -> Detection
Classify one transaction into provider evidence.