pub struct RunOptions {
pub order: Vec<usize>,
pub budget_secs: Option<f64>,
pub strategy: Option<String>,
}Expand description
How to visit a plan’s candidates, and when to stop.
Fields§
§order: Vec<usize>Visiting order over plan.candidates indices (a permutation or prefix); defaults to plan order.
budget_secs: Option<f64>Wall-clock budget; the sweep stops (resumably) when it is spent.
strategy: Option<String>Recorded in results for provenance.
Implementations§
Source§impl RunOptions
impl RunOptions
Sourcepub fn exhaustive(plan: &BenchPlan) -> Self
pub fn exhaustive(plan: &BenchPlan) -> Self
Visit every candidate in plan order, with no budget.
Auto Trait Implementations§
impl Freeze for RunOptions
impl RefUnwindSafe for RunOptions
impl Send for RunOptions
impl Sync for RunOptions
impl Unpin for RunOptions
impl UnsafeUnpin for RunOptions
impl UnwindSafe for RunOptions
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