pub enum Stop {
AlreadyInBands,
InBands,
Stuck,
Budget,
Stopped,
}Expand description
Why the search stopped.
Variants§
AlreadyInBands
The stage as authored was in every band: nothing changed.
InBands
The change set puts every rate in its band. If the budget ran out, or the caller said to stop, while it was being pruned, it may be larger than it had to be.
Stuck
No knob’s step brought the stage any nearer its bands: the change set is the nearest the search came.
Budget
The budget of evaluations ran out first: the change set is the best setting seen.
Stopped
The caller said to stop (autobalance_by’s should_stop, such
as the tools’ time limit): the change set is the best setting seen.
Trait Implementations§
impl Copy for Stop
Source§impl<'de> Deserialize<'de> for Stop
impl<'de> Deserialize<'de> for Stop
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Stop
Source§impl JsonSchema for Stop
impl JsonSchema for Stop
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreimpl StructuralPartialEq for Stop
Auto Trait Implementations§
impl Freeze for Stop
impl RefUnwindSafe for Stop
impl Send for Stop
impl Sync for Stop
impl Unpin for Stop
impl UnsafeUnpin for Stop
impl UnwindSafe for Stop
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