PerformancePredictor

Trait PerformancePredictor 

Source
pub trait PerformancePredictor: Send + Sync {
    // Required methods
    fn name(&self) -> &str;
    fn predict(
        &self,
        historical_data: &PerformanceHistory,
    ) -> Result<PerformancePrediction, PredictionError>;
    fn confidence(&self) -> f64;
    fn prediction_horizon(&self) -> Duration;
}

Required Methods§

Implementors§