#[non_exhaustive]pub enum EngineImportAdviceError {
Show 19 variants
UnsupportedProfile,
InvalidConfig(String),
WrongHeader,
InvalidTool,
InvalidProvenance(String),
ProfileMismatch,
InvalidLifecycle,
InvalidClipIdentity,
InvalidMeasurement,
UnitySettingsMismatch,
TooManyClips {
found: usize,
limit: usize,
},
IdentityMismatch,
UnsupportedProfileV2,
WrongV2Header,
InvalidV2Provenance(String),
InvalidV2Prediction(String),
InvalidV2Lifecycle,
InvalidV2Projection,
InvalidV2Settings,
}Expand description
Import-advice producer or strict-reader contract failure.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
UnsupportedProfile
The selected profile is outside Unity/Unreal/Godot V1 advice.
InvalidConfig(String)
Engine-neutral project intent was not a valid core configuration.
WrongHeader
The standalone header was not the immutable V1 shape.
InvalidTool
Producer metadata violated the shared tool shape.
InvalidProvenance(String)
Shared prediction provenance was invalid.
ProfileMismatch
Exact profile tuple/facts did not match the payload variant.
InvalidLifecycle
Advice state, reason, or row presence contradicted the lifecycle.
InvalidClipIdentity
A source/normalized clip identity was malformed or duplicated.
InvalidMeasurement
A retained measurement value/status pair was malformed.
UnitySettingsMismatch
Materialized Unity settings did not match the advice projection.
TooManyClips
Too many clip rows were present.
IdentityMismatch
Canonical advice identity did not match the payload.
UnsupportedProfileV2
The exact V2 profile tuple is not an import-advice profile.
WrongV2Header
The V2 standalone header was not the immutable shape.
InvalidV2Provenance(String)
V2 provenance failed strict semantic validation.
InvalidV2Prediction(String)
V2 prediction failed strict semantic validation.
InvalidV2Lifecycle
V2 lifecycle or facet shape was contradictory.
InvalidV2Projection
V2 machine projection did not match its bound settings.
InvalidV2Settings
V2 document settings did not contain the required closed values.
Trait Implementations§
Source§impl Clone for EngineImportAdviceError
impl Clone for EngineImportAdviceError
Source§fn clone(&self) -> EngineImportAdviceError
fn clone(&self) -> EngineImportAdviceError
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for EngineImportAdviceError
impl Debug for EngineImportAdviceError
Source§impl Display for EngineImportAdviceError
impl Display for EngineImportAdviceError
impl Eq for EngineImportAdviceError
Source§impl Error for EngineImportAdviceError
impl Error for EngineImportAdviceError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()