pub enum AnalysisError {
Show 13 variants
AlmanacExpr {
expr: Box<ScalarExpr>,
state: Box<Orbit>,
source: Box<AlmanacError>,
},
AlmanacMissingDataExpr {
expr: Box<ScalarExpr>,
},
AlmanacStateSpec {
spec: Box<StateSpec>,
epoch: Epoch,
source: Box<AlmanacError>,
},
PhysicsOrbitEl {
el: Box<OrbitalElement>,
orbit: Box<Orbit>,
source: Box<PhysicsError>,
},
PhysicsVecExpr {
expr: Box<VectorExpr>,
epoch: Epoch,
source: Box<PhysicsError>,
},
PhysicsDcmExpr {
expr: Box<DcmExpr>,
epoch: Epoch,
source: Box<PhysicsError>,
},
MathExpr {
expr: Box<ScalarExpr>,
source: Box<MathError>,
},
EventNotFound {
start: Epoch,
end: Epoch,
event: Box<Event>,
},
AllScalarsFailed {
spec: String,
},
InvalidEventEval {
err: String,
},
YetUnimplemented {
err: &'static str,
},
AlmanacVisibility {
state: Box<Orbit>,
source: Box<AlmanacError>,
},
GenericAnalysisError {
err: String,
},
}Available on crate feature
analysis only.Variants§
AlmanacExpr
AlmanacMissingDataExpr
Fields
§
expr: Box<ScalarExpr>AlmanacStateSpec
PhysicsOrbitEl
PhysicsVecExpr
PhysicsDcmExpr
MathExpr
EventNotFound
AllScalarsFailed
InvalidEventEval
YetUnimplemented
AlmanacVisibility
GenericAnalysisError
Trait Implementations§
Source§impl Debug for AnalysisError
impl Debug for AnalysisError
Source§impl Display for AnalysisError
impl Display for AnalysisError
Source§impl Error for AnalysisError
impl Error for AnalysisError
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 ErrorCompat for AnalysisError
impl ErrorCompat for AnalysisError
Source§fn iter_chain(&self) -> ChainCompat<'_, '_>where
Self: AsErrorSource,
fn iter_chain(&self) -> ChainCompat<'_, '_>where
Self: AsErrorSource,
Returns an iterator for traversing the chain of errors,
starting with the current error
and continuing with recursive calls to
Error::source. Read moreSource§impl From<AnalysisError> for PyErr
Available on crate feature python only.
impl From<AnalysisError> for PyErr
Available on crate feature
python only.Source§fn from(err: AnalysisError) -> PyErr
fn from(err: AnalysisError) -> PyErr
Converts to this type from the input type.
Source§impl<__T0> IntoError<AnalysisError> for AllScalarsFailedSnafu<__T0>
impl<__T0> IntoError<AnalysisError> for AllScalarsFailedSnafu<__T0>
Source§fn into_error(self, error: Self::Source) -> AnalysisError
fn into_error(self, error: Self::Source) -> AnalysisError
Combine the information to produce the error
Source§impl<__T0, __T1> IntoError<AnalysisError> for AlmanacExprSnafu<__T0, __T1>
impl<__T0, __T1> IntoError<AnalysisError> for AlmanacExprSnafu<__T0, __T1>
Source§type Source = AlmanacError
type Source = AlmanacError
The underlying error
Source§fn into_error(self, error: Self::Source) -> AnalysisError
fn into_error(self, error: Self::Source) -> AnalysisError
Combine the information to produce the error
Source§impl<__T0> IntoError<AnalysisError> for AlmanacMissingDataExprSnafu<__T0>
impl<__T0> IntoError<AnalysisError> for AlmanacMissingDataExprSnafu<__T0>
Source§fn into_error(self, error: Self::Source) -> AnalysisError
fn into_error(self, error: Self::Source) -> AnalysisError
Combine the information to produce the error
Source§impl<__T0, __T1> IntoError<AnalysisError> for AlmanacStateSpecSnafu<__T0, __T1>
impl<__T0, __T1> IntoError<AnalysisError> for AlmanacStateSpecSnafu<__T0, __T1>
Source§type Source = AlmanacError
type Source = AlmanacError
The underlying error
Source§fn into_error(self, error: Self::Source) -> AnalysisError
fn into_error(self, error: Self::Source) -> AnalysisError
Combine the information to produce the error
Source§impl<__T0> IntoError<AnalysisError> for AlmanacVisibilitySnafu<__T0>
impl<__T0> IntoError<AnalysisError> for AlmanacVisibilitySnafu<__T0>
Source§type Source = AlmanacError
type Source = AlmanacError
The underlying error
Source§fn into_error(self, error: Self::Source) -> AnalysisError
fn into_error(self, error: Self::Source) -> AnalysisError
Combine the information to produce the error
Source§impl<__T0, __T1, __T2> IntoError<AnalysisError> for EventNotFoundSnafu<__T0, __T1, __T2>where
AnalysisError: Error + ErrorCompat,
__T0: Into<Epoch>,
__T1: Into<Epoch>,
__T2: Into<Box<Event>>,
impl<__T0, __T1, __T2> IntoError<AnalysisError> for EventNotFoundSnafu<__T0, __T1, __T2>where
AnalysisError: Error + ErrorCompat,
__T0: Into<Epoch>,
__T1: Into<Epoch>,
__T2: Into<Box<Event>>,
Source§fn into_error(self, error: Self::Source) -> AnalysisError
fn into_error(self, error: Self::Source) -> AnalysisError
Combine the information to produce the error
Source§impl<__T0> IntoError<AnalysisError> for GenericAnalysisSnafu<__T0>
impl<__T0> IntoError<AnalysisError> for GenericAnalysisSnafu<__T0>
Source§fn into_error(self, error: Self::Source) -> AnalysisError
fn into_error(self, error: Self::Source) -> AnalysisError
Combine the information to produce the error
Source§impl<__T0> IntoError<AnalysisError> for InvalidEventEvalSnafu<__T0>
impl<__T0> IntoError<AnalysisError> for InvalidEventEvalSnafu<__T0>
Source§fn into_error(self, error: Self::Source) -> AnalysisError
fn into_error(self, error: Self::Source) -> AnalysisError
Combine the information to produce the error
Source§impl<__T0> IntoError<AnalysisError> for MathExprSnafu<__T0>
impl<__T0> IntoError<AnalysisError> for MathExprSnafu<__T0>
Source§fn into_error(self, error: Self::Source) -> AnalysisError
fn into_error(self, error: Self::Source) -> AnalysisError
Combine the information to produce the error
Source§impl<__T0, __T1> IntoError<AnalysisError> for PhysicsDcmExprSnafu<__T0, __T1>
impl<__T0, __T1> IntoError<AnalysisError> for PhysicsDcmExprSnafu<__T0, __T1>
Source§type Source = PhysicsError
type Source = PhysicsError
The underlying error
Source§fn into_error(self, error: Self::Source) -> AnalysisError
fn into_error(self, error: Self::Source) -> AnalysisError
Combine the information to produce the error
Source§impl<__T0, __T1> IntoError<AnalysisError> for PhysicsOrbitElSnafu<__T0, __T1>
impl<__T0, __T1> IntoError<AnalysisError> for PhysicsOrbitElSnafu<__T0, __T1>
Source§type Source = PhysicsError
type Source = PhysicsError
The underlying error
Source§fn into_error(self, error: Self::Source) -> AnalysisError
fn into_error(self, error: Self::Source) -> AnalysisError
Combine the information to produce the error
Source§impl<__T0, __T1> IntoError<AnalysisError> for PhysicsVecExprSnafu<__T0, __T1>
impl<__T0, __T1> IntoError<AnalysisError> for PhysicsVecExprSnafu<__T0, __T1>
Source§type Source = PhysicsError
type Source = PhysicsError
The underlying error
Source§fn into_error(self, error: Self::Source) -> AnalysisError
fn into_error(self, error: Self::Source) -> AnalysisError
Combine the information to produce the error
Source§impl<__T0> IntoError<AnalysisError> for YetUnimplementedSnafu<__T0>
impl<__T0> IntoError<AnalysisError> for YetUnimplementedSnafu<__T0>
Source§fn into_error(self, error: Self::Source) -> AnalysisError
fn into_error(self, error: Self::Source) -> AnalysisError
Combine the information to produce the error
Source§impl PartialEq for AnalysisError
impl PartialEq for AnalysisError
impl StructuralPartialEq for AnalysisError
Auto Trait Implementations§
impl Freeze for AnalysisError
impl !RefUnwindSafe for AnalysisError
impl Send for AnalysisError
impl Sync for AnalysisError
impl Unpin for AnalysisError
impl UnsafeUnpin for AnalysisError
impl !UnwindSafe for AnalysisError
Blanket Implementations§
Source§impl<T> AsErrorSource for Twhere
T: Error + 'static,
impl<T> AsErrorSource for Twhere
T: Error + 'static,
Source§fn as_error_source(&self) -> &(dyn Error + 'static)
fn as_error_source(&self) -> &(dyn Error + 'static)
For maximum effectiveness, this needs to be called as a method
to benefit from Rust’s automatic dereferencing of method
receivers.
Source§impl<T> AsErrorSource for Twhere
T: Error + 'static,
impl<T> AsErrorSource for Twhere
T: Error + 'static,
Source§fn as_error_source(&self) -> &(dyn Error + 'static)
fn as_error_source(&self) -> &(dyn Error + 'static)
For maximum effectiveness, this needs to be called as a method
to benefit from Rust’s automatic dereferencing of method
receivers.
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> 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
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.