Skip to main content

ScoringProbe

Trait ScoringProbe 

Source
pub trait ScoringProbe: Send + Sync {
    // Required methods
    fn read_scoring(&self) -> BoxFuture<'_, ScoringRead>;
    fn alert_kind(&self) -> EventKind;
}
Expand description

What reads the failure detector’s own record of the printer’s live prediction for the status.

Required Methods§

Source

fn read_scoring(&self) -> BoxFuture<'_, ScoringRead>

Read the record once.

Source

fn alert_kind(&self) -> EventKind

The kind the detector’s own failure alerts are written down under, so a print’s history says whether one has arrived for it.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§