pub enum ALError {
BlrError(BLRError),
GoalUnreachable(String),
NoiseFloorDetected,
MaxIterationsReached,
NoGoalSet,
}Expand description
Errors that can arise during active learning operations.
Variants§
BlrError(BLRError)
Propagated from a BLR fitting failure.
GoalUnreachable(String)
The requested precision goal is unachievable given the noise floor.
NoiseFloorDetected
Noise floor has been hit; further measurements unlikely to help.
MaxIterationsReached
The maximum number of active learning iterations was reached.
NoGoalSet
A calibration goal was not set before calling an operation that requires it.
Trait Implementations§
Source§impl Error for ALError
impl Error for ALError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for ALError
impl RefUnwindSafe for ALError
impl Send for ALError
impl Sync for ALError
impl Unpin for ALError
impl UnsafeUnpin for ALError
impl UnwindSafe for ALError
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