pub enum OrbitFitError {
Show 13 variants
EmptySelection,
InvalidOption {
field: &'static str,
reason: &'static str,
},
TooFewSamples {
satellite: GnssSatelliteId,
got: usize,
required: usize,
},
NonMonotonicEpochs {
satellite: GnssSatelliteId,
},
MixedTimeScales,
InvalidEpoch {
satellite: GnssSatelliteId,
reason: String,
},
InvalidObservation {
satellite: GnssSatelliteId,
reason: &'static str,
},
Frame {
satellite: GnssSatelliteId,
source: FrameTransformError,
},
Propagation {
satellite: GnssSatelliteId,
source: PropagationError,
},
LeastSquares {
satellite: GnssSatelliteId,
source: SolveError,
},
SingularGeometry {
satellite: GnssSatelliteId,
geometry_quality: GeometryQuality,
},
DidNotConverge {
satellite: GnssSatelliteId,
iterations: usize,
},
RtnFrame {
satellite: GnssSatelliteId,
reason: RtnFrameError,
},
}Expand description
Error returned by precise-orbit fitting.
Variants§
EmptySelection
No satellite was requested.
InvalidOption
An option value is outside its accepted domain.
TooFewSamples
A satellite does not have enough samples to seed a state.
Fields
satellite: GnssSatelliteIdSatellite being fitted.
NonMonotonicEpochs
A satellite’s epochs are not strictly increasing.
Fields
satellite: GnssSatelliteIdSatellite being fitted.
MixedTimeScales
Samples selected for one batch carry more than one time scale.
InvalidEpoch
A sample epoch cannot be represented on the J2000 axis or time-scale bridge.
InvalidObservation
A sample position or fit state was non-finite.
Fields
satellite: GnssSatelliteIdSatellite being fitted.
Frame
A frame conversion failed.
Fields
satellite: GnssSatelliteIdSatellite being fitted.
source: FrameTransformErrorSource frame-transform error.
Propagation
Propagation failed during the fit.
Fields
satellite: GnssSatelliteIdSatellite being fitted.
source: PropagationErrorSource propagation error.
LeastSquares
Least-squares failed before a usable fit report was produced.
Fields
satellite: GnssSatelliteIdSatellite being fitted.
source: SolveErrorSource least-squares error.
SingularGeometry
The final design matrix is rank deficient.
Fields
satellite: GnssSatelliteIdSatellite being fitted.
geometry_quality: GeometryQualityGeometry diagnostics from the singular design.
DidNotConverge
The nonlinear least-squares iteration exhausted its evaluation budget.
Fields
satellite: GnssSatelliteIdSatellite being fitted.
RtnFrame
The RTN frame was undefined for a propagated state.
Fields
satellite: GnssSatelliteIdSatellite being fitted.
reason: RtnFrameErrorRTN-frame failure reason.
Trait Implementations§
Source§impl Clone for OrbitFitError
impl Clone for OrbitFitError
Source§fn clone(&self) -> OrbitFitError
fn clone(&self) -> OrbitFitError
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for OrbitFitError
impl Debug for OrbitFitError
Source§impl Display for OrbitFitError
impl Display for OrbitFitError
Source§impl Error for OrbitFitError
impl Error for OrbitFitError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for OrbitFitError
impl RefUnwindSafe for OrbitFitError
impl Send for OrbitFitError
impl Sync for OrbitFitError
impl Unpin for OrbitFitError
impl UnsafeUnpin for OrbitFitError
impl UnwindSafe for OrbitFitError
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
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>
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>
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
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>
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
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
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.