#[non_exhaustive]pub enum GltfAnimationAddressabilityError {
Show 30 variants
UnsupportedSourceFormat {
format: SourceFormatV1,
},
IndexOverflow {
field: &'static str,
},
SourceIndexOutOfRange {
field: &'static str,
actual: u64,
limit: usize,
},
ArithmeticOverflow {
field: &'static str,
},
TooManyAnimations {
found: usize,
limit: usize,
},
TooManyRows {
found: usize,
limit: usize,
},
TextTooLong {
found: usize,
limit: usize,
},
TooMuchText {
found: usize,
limit: usize,
},
InvalidCoverage,
RowsWithUnavailableCoverage,
NonCanonicalAnimationIndex {
expected: u64,
actual: u64,
},
NonCanonicalChannelIndex {
source_clip_index: u64,
expected: u64,
actual: u64,
},
IncompleteAccessorPair,
MissingAccessorPair,
InvalidGltfTargetKind,
DependencyClosurePrimaryMismatch,
InventoryIdentityMismatch,
UnsupportedSchemaVersion {
found: u32,
},
WrongSchema,
WrongCommand,
InvalidTool,
InvalidInventoryShape {
reason: String,
},
RootInputMismatch,
MissingBevyField,
InvalidBevyProvenance {
reason: String,
},
InvalidBevyCheckShape {
reason: String,
},
InvalidBevyProfile,
BevyInventoryMismatch,
InvalidBevyCheckSubset,
InvalidPrediction(PredictionContractError),
}Expand description
A producer or reader encountered an invalid addressability V1 contract.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
UnsupportedSourceFormat
The raw source is not glTF JSON or GLB.
Fields
format: SourceFormatV1Actual source format.
IndexOverflow
A platform-sized source index could not be represented on the wire.
SourceIndexOutOfRange
A source-order row index exceeded its standalone V1 wire bound.
Fields
ArithmeticOverflow
Checked aggregate accounting overflowed.
TooManyAnimations
An animation collection exceeded the inherited raw-source bound.
TooManyRows
Aggregate animation and channel rows exceeded the inherited bound.
TextTooLong
One retained name exceeded the inherited text bound.
TooMuchText
Aggregate retained source-name text exceeded the inherited bound.
InvalidCoverage
Coverage state and reason do not form a valid pair.
Unavailable coverage incorrectly retained positive rows.
NonCanonicalAnimationIndex
A source animation row did not preserve prefix order.
NonCanonicalChannelIndex
A source channel row did not preserve prefix order.
Fields
IncompleteAccessorPair
Only one accessor of a required input/output pair was retained.
MissingAccessorPair
A retained glTF channel omitted its exact input/output accessor identities.
InvalidGltfTargetKind
A glTF channel targeted a non-node source domain.
DependencyClosurePrimaryMismatch
The embedded closure names a different primary input.
InventoryIdentityMismatch
The canonical inventory identity was mutated or forged.
UnsupportedSchemaVersion
Envelope schema version is unsupported.
WrongSchema
Envelope schema identity is wrong.
WrongCommand
Envelope command discriminator is wrong.
InvalidTool
Producer tool fields are malformed or exceed V1 text bounds.
InvalidInventoryShape
Nested inventory shape or semantic decoding failed.
RootInputMismatch
Root and inventory primary input identities differ.
MissingBevyField
Required nullable Bevy field is missing.
InvalidBevyProvenance
Bevy provenance failed strict decoding.
InvalidBevyCheckShape
Bevy check shape failed strict decoding.
InvalidBevyProfile
The adapter is not the exact frozen Bevy tuple and known label fact.
BevyInventoryMismatch
Adapter provenance and inventory identify different source evidence.
InvalidBevyCheckSubset
The embedded check is not the exact selected/enabled #154 subset.
InvalidPrediction(PredictionContractError)
Nested prediction evidence is invalid.
Trait Implementations§
Source§impl Clone for GltfAnimationAddressabilityError
impl Clone for GltfAnimationAddressabilityError
Source§fn clone(&self) -> GltfAnimationAddressabilityError
fn clone(&self) -> GltfAnimationAddressabilityError
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Eq for GltfAnimationAddressabilityError
Source§impl Error for GltfAnimationAddressabilityError
impl Error for GltfAnimationAddressabilityError
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()