pub enum AnimationLoadError {
Io {
path: PathBuf,
source: Error,
},
Gltf(Error),
MissingExtension,
InvalidExtension(Error),
InvalidAnimation(String),
UnsupportedRequiredExtension(String),
}Expand description
Errors raised while loading a VRMC_vrm_animation document.
Variants§
Io
Reading the animation file or an external buffer failed.
Gltf(Error)
The glTF container or core document is malformed.
MissingExtension
The required top-level VRMC_vrm_animation extension is absent.
InvalidExtension(Error)
The VRMC_vrm_animation payload could not be decoded.
InvalidAnimation(String)
Animation channels or humanoid metadata violate the VRMA profile.
UnsupportedRequiredExtension(String)
The document requires an extension unsupported by the VRMA loader.
Trait Implementations§
Source§impl Debug for AnimationLoadError
impl Debug for AnimationLoadError
Source§impl Display for AnimationLoadError
impl Display for AnimationLoadError
Source§impl Error for AnimationLoadError
impl Error for AnimationLoadError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<Error> for AnimationLoadError
impl From<Error> for AnimationLoadError
Auto Trait Implementations§
impl !RefUnwindSafe for AnimationLoadError
impl !UnwindSafe for AnimationLoadError
impl Freeze for AnimationLoadError
impl Send for AnimationLoadError
impl Sync for AnimationLoadError
impl Unpin for AnimationLoadError
impl UnsafeUnpin for AnimationLoadError
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