pub enum TargetingError {
Show 14 variants
UnderdeterminedProblem,
VariableError {
msg: String,
},
FrameError {
msg: String,
},
UnsupportedVariable {
var: String,
},
Verification {
msg: String,
},
Astro {
source: AstroError,
},
TooManyIterations,
CorrectionIneffective {
prev_val: f64,
cur_val: f64,
action: &'static str,
},
GuidanceError {
source: GuidanceError,
},
NotFinite,
SingularJacobian,
PropError {
source: PropagationError,
},
TargetingTrajError {
source: TrajError,
},
TargetsTooClose,
}
Variants§
UnderdeterminedProblem
VariableError
Raised if the variables of the problem are incorrectly configured
FrameError
Raised in case of a targeting frame error
UnsupportedVariable
Raised if the targeted was configured with a variable that isn’t supported (e.g. a maneuver alpha variable in the multiple shooting)
Verification
Astro
Fields
§
source: AstroError
TooManyIterations
CorrectionIneffective
GuidanceError
Fields
§
source: GuidanceError
NotFinite
SingularJacobian
PropError
Fields
§
source: PropagationError
TargetingTrajError
TargetsTooClose
Trait Implementations§
Source§impl Debug for TargetingError
impl Debug for TargetingError
Source§impl Display for TargetingError
impl Display for TargetingError
Source§impl Error for TargetingError
impl Error for TargetingError
Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§fn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
Source§impl ErrorCompat for TargetingError
impl ErrorCompat for TargetingError
§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 moreAuto Trait Implementations§
impl Freeze for TargetingError
impl !RefUnwindSafe for TargetingError
impl Send for TargetingError
impl Sync for TargetingError
impl Unpin for TargetingError
impl !UnwindSafe for TargetingError
Blanket Implementations§
§impl<T> AsErrorSource for Twhere
T: Error + 'static,
impl<T> AsErrorSource for Twhere
T: Error + 'static,
§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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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 more§impl<T> Pointable for T
impl<T> Pointable for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§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 more§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).§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.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self
to the equivalent element of its superset.