pub enum AnomalyError {
ConvergenceFailure {
iterations: usize,
residual: f64,
},
InvalidTrueAnomaly {
nu: Angle,
max_nu: Angle,
},
}Expand description
Error types for anomaly conversions
Variants§
ConvergenceFailure
The iterative solver did not converge within the allowed iterations.
InvalidTrueAnomaly
The true anomaly is outside the valid range for the given eccentricity.
Trait Implementations§
Source§impl Clone for AnomalyError
impl Clone for AnomalyError
Source§fn clone(&self) -> AnomalyError
fn clone(&self) -> AnomalyError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AnomalyError
impl Debug for AnomalyError
Source§impl Display for AnomalyError
impl Display for AnomalyError
Source§impl Error for AnomalyError
impl Error for AnomalyError
1.30.0 · 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 From<AnomalyError> for KeplerianError
impl From<AnomalyError> for KeplerianError
Source§fn from(source: AnomalyError) -> Self
fn from(source: AnomalyError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for AnomalyError
impl PartialEq for AnomalyError
impl StructuralPartialEq for AnomalyError
Auto Trait Implementations§
impl Freeze for AnomalyError
impl RefUnwindSafe for AnomalyError
impl Send for AnomalyError
impl Sync for AnomalyError
impl Unpin for AnomalyError
impl UnsafeUnpin for AnomalyError
impl UnwindSafe for AnomalyError
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
Mutably borrows from an owned value. Read more