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§
Sourcefn read_scoring(&self) -> BoxFuture<'_, ScoringRead>
fn read_scoring(&self) -> BoxFuture<'_, ScoringRead>
Read the record once.
Sourcefn alert_kind(&self) -> EventKind
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".