pub enum RuntimeEstimate {
Low,
Medium,
High,
}Expand description
Deterministic advisory effort category for compute-heavy operations.
Returned by the simulation and analysis runtime estimators. The estimate
is advisory only — it does not alter solver behaviour, time-step selection,
or analysis algorithms. For identical inputs the output is always the same
(Low < Medium < High is a total order).
Variants§
Low
Expected wall-clock time < ~600 ms.
Medium
Expected wall-clock time ~600 ms – 3 s.
High
Expected wall-clock time > ~3 s.
Trait Implementations§
Source§impl Clone for RuntimeEstimate
impl Clone for RuntimeEstimate
Source§fn clone(&self) -> RuntimeEstimate
fn clone(&self) -> RuntimeEstimate
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RuntimeEstimate
Source§impl Debug for RuntimeEstimate
impl Debug for RuntimeEstimate
Source§impl Default for RuntimeEstimate
impl Default for RuntimeEstimate
Source§fn default() -> RuntimeEstimate
fn default() -> RuntimeEstimate
Returns the “default value” for a type. Read more
impl Eq for RuntimeEstimate
Source§impl Ord for RuntimeEstimate
impl Ord for RuntimeEstimate
Source§fn cmp(&self, other: &RuntimeEstimate) -> Ordering
fn cmp(&self, other: &RuntimeEstimate) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for RuntimeEstimate
impl PartialEq for RuntimeEstimate
Source§fn eq(&self, other: &RuntimeEstimate) -> bool
fn eq(&self, other: &RuntimeEstimate) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for RuntimeEstimate
impl PartialOrd for RuntimeEstimate
impl StructuralPartialEq for RuntimeEstimate
Auto Trait Implementations§
impl Freeze for RuntimeEstimate
impl RefUnwindSafe for RuntimeEstimate
impl Send for RuntimeEstimate
impl Sync for RuntimeEstimate
impl Unpin for RuntimeEstimate
impl UnsafeUnpin for RuntimeEstimate
impl UnwindSafe for RuntimeEstimate
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