pub enum Error {
Show 15 variants
Sp3(Error),
Antex(AntexError),
RinexNav(NavParseError),
RinexObs(Error),
RinexClock(RinexClockError),
Bias(BiasError),
Ssr(Error),
Crinex(Error),
Io(Error),
Spp(SolvePolicyError),
Velocity(VelocityError),
RtkFloat(FloatSolveError),
RtkFixed(ValidatedFixedSolveError),
PppFloat(FloatSolveError),
PppFixed(FixedSolveError),
}Expand description
The one error type for the ergonomic API.
Each variant wraps the error of the sidereon_core reference entry point the
corresponding function delegates to. The SP3 variant wraps the core’s own
sidereon_core::Error (which carries a human-readable parse message); the
solve variants wrap their technique-specific error verbatim so no diagnostic
detail is lost.
Variants§
Sp3(Error)
load_sp3 failed to parse the SP3 product.
Antex(AntexError)
parse_antex or load_antex failed to parse the ANTEX product.
parse_rinex_nav or load_rinex_nav failed to parse the NAV product.
RinexObs(Error)
parse_rinex_obs or load_rinex_obs failed to parse the OBS product.
RinexClock(RinexClockError)
parse_rinex_clock or load_rinex_clock failed to parse the clock product.
Bias(BiasError)
Bias-SINEX or CODE DCB parsing failed.
Ssr(Error)
SSR decode or correction-store ingest failed.
Crinex(Error)
decode_crinex or load_crinex failed to decode the CRINEX product.
Io(Error)
A product file could not be read.
Spp(SolvePolicyError)
solve_spp failed.
Velocity(VelocityError)
solve_velocity failed.
RtkFloat(FloatSolveError)
solve_rtk_float failed.
RtkFixed(ValidatedFixedSolveError)
solve_rtk_fixed failed.
PppFloat(FloatSolveError)
solve_ppp_float failed.
PppFixed(FixedSolveError)
solve_ppp_fixed failed.
Trait Implementations§
Source§impl Error for Error
impl Error for Error
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()
Source§impl From<AntexError> for Error
impl From<AntexError> for Error
Source§fn from(e: AntexError) -> Self
fn from(e: AntexError) -> Self
Source§impl From<FixedSolveError> for Error
impl From<FixedSolveError> for Error
Source§fn from(e: PppFixedSolveError) -> Self
fn from(e: PppFixedSolveError) -> Self
Source§impl From<FloatSolveError> for Error
impl From<FloatSolveError> for Error
Source§fn from(e: RtkFloatSolveError) -> Self
fn from(e: RtkFloatSolveError) -> Self
Source§impl From<FloatSolveError> for Error
impl From<FloatSolveError> for Error
Source§fn from(e: PppFloatSolveError) -> Self
fn from(e: PppFloatSolveError) -> Self
Source§fn from(e: NavParseError) -> Self
fn from(e: NavParseError) -> Self
Source§impl From<RinexClockError> for Error
impl From<RinexClockError> for Error
Source§fn from(e: RinexClockError) -> Self
fn from(e: RinexClockError) -> Self
Source§impl From<SolvePolicyError> for Error
impl From<SolvePolicyError> for Error
Source§fn from(e: SolvePolicyError) -> Self
fn from(e: SolvePolicyError) -> Self
Source§impl From<ValidatedFixedSolveError> for Error
impl From<ValidatedFixedSolveError> for Error
Source§fn from(e: ValidatedFixedSolveError) -> Self
fn from(e: ValidatedFixedSolveError) -> Self
Source§impl From<VelocityError> for Error
impl From<VelocityError> for Error
Source§fn from(e: VelocityError) -> Self
fn from(e: VelocityError) -> Self
Auto Trait Implementations§
impl !RefUnwindSafe for Error
impl !UnwindSafe for Error
impl Freeze for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnsafeUnpin for Error
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.