pub enum AdaptiveReoptimizationAction {
Disabled,
Skipped,
AttemptCandidate,
Adopted,
RolledBack,
}Expand description
Deterministic adaptive re-optimization decision action.
Variants§
Disabled
Adaptive re-optimization is explicitly disabled.
Skipped
Telemetry did not cross the deterministic adaptation threshold.
AttemptCandidate
Telemetry crossed the threshold and the candidate should be attempted.
Adopted
Candidate output matched the baseline and was adopted.
RolledBack
Candidate failed or diverged and the baseline snapshot was restored.
Trait Implementations§
Source§impl Clone for AdaptiveReoptimizationAction
impl Clone for AdaptiveReoptimizationAction
Source§fn clone(&self) -> AdaptiveReoptimizationAction
fn clone(&self) -> AdaptiveReoptimizationAction
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AdaptiveReoptimizationAction
impl Debug for AdaptiveReoptimizationAction
Source§impl PartialEq for AdaptiveReoptimizationAction
impl PartialEq for AdaptiveReoptimizationAction
Source§fn eq(&self, other: &AdaptiveReoptimizationAction) -> bool
fn eq(&self, other: &AdaptiveReoptimizationAction) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for AdaptiveReoptimizationAction
impl Eq for AdaptiveReoptimizationAction
impl StructuralPartialEq for AdaptiveReoptimizationAction
Auto Trait Implementations§
impl Freeze for AdaptiveReoptimizationAction
impl RefUnwindSafe for AdaptiveReoptimizationAction
impl Send for AdaptiveReoptimizationAction
impl Sync for AdaptiveReoptimizationAction
impl Unpin for AdaptiveReoptimizationAction
impl UnsafeUnpin for AdaptiveReoptimizationAction
impl UnwindSafe for AdaptiveReoptimizationAction
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more