pub enum FlrwInterceptError {
InvalidBeta(f64),
InvalidCosmologicalEpoch {
scale_factor: f64,
hubble_param: f64,
},
BeyondCosmologicalHorizon {
recession_velocity_km_s: f64,
max_interceptor_speed_km_s: f64,
hubble_horizon_mpc: f64,
},
NoInterceptSolution,
}Expand description
Failure states for cosmological comoving intercept calculation (Packet OCS-12).
Variants§
InvalidBeta(f64)
Interceptor speed fraction $\beta = v / c_0$ must satisfy $0 < \beta \le 1.0$.
InvalidCosmologicalEpoch
Cosmological scale factor $a(t)$ or Hubble parameter $H(t)$ is non-positive or non-finite.
BeyondCosmologicalHorizon
Target recession velocity exceeds or equals interceptor speed ($v_{\text{H}} \ge \beta c_0$).
NoInterceptSolution
Target peculiar + Hubble motion has no real positive intercept time with the given $\beta$.
Trait Implementations§
Source§impl Clone for FlrwInterceptError
impl Clone for FlrwInterceptError
impl Copy for FlrwInterceptError
Source§impl Debug for FlrwInterceptError
impl Debug for FlrwInterceptError
Source§impl PartialEq for FlrwInterceptError
impl PartialEq for FlrwInterceptError
impl StructuralPartialEq for FlrwInterceptError
Auto Trait Implementations§
impl Freeze for FlrwInterceptError
impl RefUnwindSafe for FlrwInterceptError
impl Send for FlrwInterceptError
impl Sync for FlrwInterceptError
impl Unpin for FlrwInterceptError
impl UnsafeUnpin for FlrwInterceptError
impl UnwindSafe for FlrwInterceptError
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