pub enum GeodeticTimeSeriesError {
InvalidInput {
field: &'static str,
reason: &'static str,
},
TooFewSamples {
samples: usize,
needed: usize,
},
InsufficientPairs {
pairs: usize,
needed: usize,
},
SingularTrajectory,
DidNotConverge {
status: i32,
},
Solver(TrfError),
}Expand description
Error returned by geodetic time-series estimators.
Variants§
InvalidInput
A boundary input was malformed.
Fields
TooFewSamples
There are fewer position samples than the estimator requires.
InsufficientPairs
MIDAS could not select enough usable dominant-period pairs.
SingularTrajectory
The trajectory design matrix is rank deficient.
DidNotConverge
The trust-region least-squares solver exhausted or stopped without satisfying a convergence condition.
Solver(TrfError)
The trust-region least-squares solver failed.
Trait Implementations§
Source§impl Clone for GeodeticTimeSeriesError
impl Clone for GeodeticTimeSeriesError
Source§fn clone(&self) -> GeodeticTimeSeriesError
fn clone(&self) -> GeodeticTimeSeriesError
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 GeodeticTimeSeriesError
impl Debug for GeodeticTimeSeriesError
Source§impl Display for GeodeticTimeSeriesError
impl Display for GeodeticTimeSeriesError
Source§impl Error for GeodeticTimeSeriesError
impl Error for GeodeticTimeSeriesError
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 From<PrimitiveError> for GeodeticTimeSeriesError
impl From<PrimitiveError> for GeodeticTimeSeriesError
Source§fn from(value: PrimitiveError) -> Self
fn from(value: PrimitiveError) -> Self
Converts to this type from the input type.
Source§impl From<RobustError> for GeodeticTimeSeriesError
impl From<RobustError> for GeodeticTimeSeriesError
Source§fn from(value: RobustError) -> Self
fn from(value: RobustError) -> Self
Converts to this type from the input type.
Source§impl From<TrfError> for GeodeticTimeSeriesError
impl From<TrfError> for GeodeticTimeSeriesError
Source§impl PartialEq for GeodeticTimeSeriesError
impl PartialEq for GeodeticTimeSeriesError
impl StructuralPartialEq for GeodeticTimeSeriesError
Auto Trait Implementations§
impl Freeze for GeodeticTimeSeriesError
impl RefUnwindSafe for GeodeticTimeSeriesError
impl Send for GeodeticTimeSeriesError
impl Sync for GeodeticTimeSeriesError
impl Unpin for GeodeticTimeSeriesError
impl UnsafeUnpin for GeodeticTimeSeriesError
impl UnwindSafe for GeodeticTimeSeriesError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Scalar for T
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.