pub enum IterationOutcome {
PrecisionMet,
NoiseFloorHit(f64),
RecommendNext(Vec<RecommendedSample>),
MaxIterationsReached,
FitError(String),
}Expand description
Outcome of one call to CalibrationSession::next_iteration().
Variants§
PrecisionMet
Precision goal met — calibration is complete.
NoiseFloorHit(f64)
Noise floor detected — further measurements unlikely to help. Contains the estimated noise floor std.
RecommendNext(Vec<RecommendedSample>)
Calibration loop recommends collecting more samples at these locations.
MaxIterationsReached
Maximum iteration count reached without convergence.
FitError(String)
A BLR fitting error occurred.
Trait Implementations§
Source§impl Clone for IterationOutcome
impl Clone for IterationOutcome
Source§fn clone(&self) -> IterationOutcome
fn clone(&self) -> IterationOutcome
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 moreAuto Trait Implementations§
impl Freeze for IterationOutcome
impl RefUnwindSafe for IterationOutcome
impl Send for IterationOutcome
impl Sync for IterationOutcome
impl Unpin for IterationOutcome
impl UnsafeUnpin for IterationOutcome
impl UnwindSafe for IterationOutcome
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