pub enum EstimateError {
TechniqueMismatch {
strategy: Technique,
input: Technique,
},
IncompatibleTarget {
technique: Technique,
target: ReferenceTarget,
},
CanonicalUnavailable {
technique: Technique,
},
Spp(SolvePolicyError),
RtkFloat(FloatSolveError),
RtkFixed(ValidatedFixedSolveError),
PppFloat(FloatSolveError),
PppFixed(FixedSolveError),
}Expand description
Failure of estimate: a selection error, or the wrapped error of the
dispatched reference entry point.
Variants§
TechniqueMismatch
The selected strategy’s technique does not match the input’s technique (e.g. an RTK strategy with an SPP input).
IncompatibleTarget
A Reference strategy named a target that is not a supported reference
for its technique (e.g. an RTK technique against the Skyfield SPP
oracle, or the owned deterministic solver for a non-SPP technique). The
supported pairs are enumerated by EstimationRecipe::for_reference.
A Canonical strategy was selected for a technique whose canonical model
is not yet implemented. Canonical SPP, RTK, and PPP are all wired, so no
technique currently produces this; it is retained as the resolver’s stable
not-yet-implemented surface for any future technique.
Spp(SolvePolicyError)
RtkFloat(FloatSolveError)
RtkFixed(ValidatedFixedSolveError)
PppFloat(FloatSolveError)
PppFixed(FixedSolveError)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EstimateError
impl RefUnwindSafe for EstimateError
impl Send for EstimateError
impl Sync for EstimateError
impl Unpin for EstimateError
impl UnsafeUnpin for EstimateError
impl UnwindSafe for EstimateError
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> 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.