pub struct TimePredictor { /* private fields */ }Expand description
Time prediction engine
Implementations§
Source§impl TimePredictor
impl TimePredictor
Sourcepub fn with_historical_data(historical_data: HistoricalData) -> Self
pub fn with_historical_data(historical_data: HistoricalData) -> Self
Create predictor with historical data
Sourcepub fn predict(&self, workflow: &Workflow) -> TimeEstimate
pub fn predict(&self, workflow: &Workflow) -> TimeEstimate
Predict execution time for a workflow
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TimePredictor
impl RefUnwindSafe for TimePredictor
impl Send for TimePredictor
impl Sync for TimePredictor
impl Unpin for TimePredictor
impl UnwindSafe for TimePredictor
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more