pub trait CostPredictor {
// Required methods
fn predict_cost(
&self,
workload: &WorkloadSpec,
config: &ExecutionConfig,
time_horizon: Duration,
) -> DeviceResult<CostPrediction>;
fn get_predictor_name(&self) -> String;
fn get_confidence_level(&self) -> f64;
}Expand description
Cost predictor trait