pub enum Unpredicted {
NoCut(NoCut),
NothingToFit(Cut),
NotFitted {
cut: Cut,
misfit_share: Option<f64>,
},
NoApogee(Cut),
}Expand description
Why a log gives no prediction.
Variants§
NoCut(NoCut)
The finder found no cut, and why.
NothingToFit(Cut)
The log up to the cut holds too little to fit: no pad or height track read, a window from
liftoff to the cut that is empty or longer than 1,000 s, or no more bins of
fit::BIN_S with a sample, from a second before liftoff, than the fit has unknowns (11).
A log with no liftoff read stands its first sample for liftoff, so that alone doesn’t
refuse it.
A log cut within 2 s of its liftoff can’t hold 12, nor a later one logged from liftoff only.
NotFitted
The fit came back with what was stated: its residual more than fit::MISFIT_SHARE of the
spread of the heights it read (misfit_share), or a flight it couldn’t fly.
NoApogee(Cut)
The fitted flight reaches no apogee within APOGEE_HORIZON_S, or can’t be flown.
Trait Implementations§
Source§impl Clone for Unpredicted
impl Clone for Unpredicted
Source§fn clone(&self) -> Unpredicted
fn clone(&self) -> Unpredicted
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for Unpredicted
Source§impl Debug for Unpredicted
impl Debug for Unpredicted
Source§impl<'de> Deserialize<'de> for Unpredicted
impl<'de> Deserialize<'de> for Unpredicted
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for Unpredicted
impl PartialEq for Unpredicted
Source§fn eq(&self, other: &Unpredicted) -> bool
fn eq(&self, other: &Unpredicted) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for Unpredicted
impl Serialize for Unpredicted
impl StructuralPartialEq for Unpredicted
Auto Trait Implementations§
impl Freeze for Unpredicted
impl RefUnwindSafe for Unpredicted
impl Send for Unpredicted
impl Sync for Unpredicted
impl Unpin for Unpredicted
impl UnsafeUnpin for Unpredicted
impl UnwindSafe for Unpredicted
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