#[non_exhaustive]pub enum StoredReferenceExclusion {
Show 23 variants
MissingStatus,
Outdated,
NotSimulated,
External,
Loaded,
CannotRun,
Aborted,
UnknownStatus,
MissingSimulator,
UnsupportedSimulator,
MissingCalculator,
UnsupportedCalculator,
MissingResults,
MissingSummary,
ImpossibleSummary,
InconsistentResults,
ParserWarning,
FatalEvent,
UninspectableSeries,
ReducedDesign,
MissingConfiguration,
UnknownConfiguration,
UnflyableConfiguration,
}Expand description
Why a stored simulation cannot be used as a validation reference.
Reading a result and accepting it as a reference are separate operations. This enum covers status, summary and internal-consistency checks that can be made from the stored simulation alone. A caller that has the containing design must additionally reject reduced designs and unknown motor configurations.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
MissingStatus
The simulation has no status, so it cannot be established as current.
Outdated
The simulation was recorded before the design changed.
NotSimulated
The file says that the simulation was not run.
External
The result came from an external simulator, not OpenRocket’s own run.
Loaded
The result was loaded rather than produced by a current run.
CannotRun
The simulation could not be run.
Aborted
The simulation was aborted.
UnknownStatus
The file contains a status not recognized by this reader.
MissingSimulator
The simulation has no <simulator>, so its producer cannot be established.
UnsupportedSimulator
The simulation names a producer other than the pinned OpenRocket RK4 simulator.
MissingCalculator
The simulation has no <calculator>, so its aerodynamic model cannot be established.
UnsupportedCalculator
The simulation names a calculator other than the pinned OpenRocket Barrowman calculator.
MissingResults
The simulation has no <flightdata>.
MissingSummary
The flightdata lacks one of the required ascent summary values.
ImpossibleSummary
A summary value is non-finite, negative, or otherwise impossible as a maximum.
InconsistentResults
The summary and stored time series contradict one another.
ParserWarning
The parser had to drop or reinterpret data belonging to this simulation.
FatalEvent
The stored flight ended with a fatal simulation event.
UninspectableSeries
A stored time series has rows but no recognized time or altitude column.
ReducedDesign
The containing design is reduced, so hpr cannot reproduce its full geometry.
MissingConfiguration
The stored run does not name a motor configuration.
UnknownConfiguration
The stored run names a configuration absent from the design.
UnflyableConfiguration
The named configuration cannot be flown by hpr as read.
Implementations§
Trait Implementations§
Source§impl Clone for StoredReferenceExclusion
impl Clone for StoredReferenceExclusion
Source§fn clone(&self) -> StoredReferenceExclusion
fn clone(&self) -> StoredReferenceExclusion
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for StoredReferenceExclusion
Source§impl Debug for StoredReferenceExclusion
impl Debug for StoredReferenceExclusion
Source§impl<'de> Deserialize<'de> for StoredReferenceExclusion
impl<'de> Deserialize<'de> for StoredReferenceExclusion
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>,
impl Eq for StoredReferenceExclusion
Source§impl Hash for StoredReferenceExclusion
impl Hash for StoredReferenceExclusion
Source§impl PartialEq for StoredReferenceExclusion
impl PartialEq for StoredReferenceExclusion
Source§fn eq(&self, other: &StoredReferenceExclusion) -> bool
fn eq(&self, other: &StoredReferenceExclusion) -> bool
self and other values to be equal, and is used by ==.Source§impl Serialize for StoredReferenceExclusion
impl Serialize for StoredReferenceExclusion
impl StructuralPartialEq for StoredReferenceExclusion
Auto Trait Implementations§
impl Freeze for StoredReferenceExclusion
impl RefUnwindSafe for StoredReferenceExclusion
impl Send for StoredReferenceExclusion
impl Sync for StoredReferenceExclusion
impl Unpin for StoredReferenceExclusion
impl UnsafeUnpin for StoredReferenceExclusion
impl UnwindSafe for StoredReferenceExclusion
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.