Skip to navigation

Trait Diagnostic Classifier

View as Markdown

Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-pii-redaction -p nemo-relay-ffi -p nemo-relay-types -p nemo-relay-plugin -p nemo-relay-worker-proto -p nemo-relay-worker.

pub trait DiagnosticClassifier<E>where
    E: ?Sized,{
    // Required method
    fn classify(&self, error: &E) -> Classification;
}

Pure producer behavior: borrow original evidence and return shared classification metadata.

Owning producer crates implement local adapters. Classification must not record, log, retry, change health, or modify the source operation’s outcome.

Required Methods

classify

fn classify(&self, error: &E) -> Classification

Interpret supported structured evidence without retaining or altering it.

Implementors

impl DiagnosticClassifier<PluginError> for PluginErrorClassifier

impl DiagnosticClassifier<PluginError> for PluginErrorClassifier