pub enum CalibrationError {
InvalidDataset(String),
Singular,
Projection(String),
}Expand description
Calibration input or numerical failure.
Variants§
InvalidDataset(String)
The dataset is empty, non-finite, inconsistent, or underconstrained.
Singular
A normal equation was singular or ill-conditioned.
Projection(String)
Projection failed while evaluating residuals.
Trait Implementations§
Source§impl Clone for CalibrationError
impl Clone for CalibrationError
Source§fn clone(&self) -> CalibrationError
fn clone(&self) -> CalibrationError
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 moreSource§impl Debug for CalibrationError
impl Debug for CalibrationError
Source§impl Display for CalibrationError
impl Display for CalibrationError
Source§impl Error for CalibrationError
impl Error for CalibrationError
1.30.0 · 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()
Source§impl PartialEq for CalibrationError
impl PartialEq for CalibrationError
Source§fn eq(&self, other: &CalibrationError) -> bool
fn eq(&self, other: &CalibrationError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CalibrationError
Auto Trait Implementations§
impl Freeze for CalibrationError
impl RefUnwindSafe for CalibrationError
impl Send for CalibrationError
impl Sync for CalibrationError
impl Unpin for CalibrationError
impl UnsafeUnpin for CalibrationError
impl UnwindSafe for CalibrationError
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