Enum ImportOutcome
pub enum ImportOutcome {
Complete(Vec<f64>),
Pruned,
Failed(String),
Unfinished,
}Expand description
Terminal state represented by a staged import trial.
Variants§
Complete(Vec<f64>)
Record final objective values and complete the trial.
Pruned
Preserve accepted intermediates and leave a pruned terminal trial.
Failed(String)
Record the failure reason and leave a failed terminal trial.
Unfinished
Preserve the trial as paused, without terminal objective values.
Trait Implementations§
§impl Clone for ImportOutcome
impl Clone for ImportOutcome
§fn clone(&self) -> ImportOutcome
fn clone(&self) -> ImportOutcome
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 more§impl Debug for ImportOutcome
impl Debug for ImportOutcome
§impl<'de> Deserialize<'de> for ImportOutcome
impl<'de> Deserialize<'de> for ImportOutcome
§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 PartialEq for ImportOutcome
impl PartialEq for ImportOutcome
§impl Serialize for ImportOutcome
impl Serialize for ImportOutcome
impl StructuralPartialEq for ImportOutcome
Auto Trait Implementations§
impl Freeze for ImportOutcome
impl RefUnwindSafe for ImportOutcome
impl Send for ImportOutcome
impl Sync for ImportOutcome
impl Unpin for ImportOutcome
impl UnsafeUnpin for ImportOutcome
impl UnwindSafe for ImportOutcome
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