#[non_exhaustive]pub enum AutomatedStoppingSpec {
DecayCurveStoppingSpec(Box<DecayCurveAutomatedStoppingSpec>),
MedianAutomatedStoppingSpec(Box<MedianAutomatedStoppingSpec>),
ConvexAutomatedStoppingSpec(Box<ConvexAutomatedStoppingSpec>),
}Available on crate features
job-service or vizier-service only.Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
DecayCurveStoppingSpec(Box<DecayCurveAutomatedStoppingSpec>)
The automated early stopping spec using decay curve rule.
MedianAutomatedStoppingSpec(Box<MedianAutomatedStoppingSpec>)
The automated early stopping spec using median rule.
ConvexAutomatedStoppingSpec(Box<ConvexAutomatedStoppingSpec>)
The automated early stopping spec using convex stopping rule.
Trait Implementations§
Source§impl Clone for AutomatedStoppingSpec
impl Clone for AutomatedStoppingSpec
Source§fn clone(&self) -> AutomatedStoppingSpec
fn clone(&self) -> AutomatedStoppingSpec
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 AutomatedStoppingSpec
impl Debug for AutomatedStoppingSpec
Source§impl PartialEq for AutomatedStoppingSpec
impl PartialEq for AutomatedStoppingSpec
impl StructuralPartialEq for AutomatedStoppingSpec
Auto Trait Implementations§
impl Freeze for AutomatedStoppingSpec
impl RefUnwindSafe for AutomatedStoppingSpec
impl Send for AutomatedStoppingSpec
impl Sync for AutomatedStoppingSpec
impl Unpin for AutomatedStoppingSpec
impl UnwindSafe for AutomatedStoppingSpec
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