Skip to main content

IssueClassifier

Trait IssueClassifier 

Source
pub trait IssueClassifier {
    // Required method
    fn classify(
        &self,
        input: IssueClassificationInput<'_>,
    ) -> Vec<IssueRecommendation>;
}
Expand description

Optional caller hook for mapping failed/error assets to reusable recommendations.

Required Methods§

Source

fn classify( &self, input: IssueClassificationInput<'_>, ) -> Vec<IssueRecommendation>

Classifies one failed/error asset.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§