Enum gltf_importer::Error
[−]
[src]
pub enum Error { BufferLength(Path), Base64Decoding(DecodeError), ExtensionDisabled(String), ExtensionUnsupported(String), FileNotFound(PathBuf), IncompatibleVersion(String), Io(Error), Gltf(Error), MalformedJson(Error), Validation(Vec<(Path, Error)>), }
Error encountered when importing a glTF 2.0 asset.
Variants
BufferLength(Path)
A loaded glTF buffer is not of the required length.
Base64Decoding(DecodeError)
Base 64 decoding error.
ExtensionDisabled(String)
A glTF extension required by the asset has not been enabled by the user.
ExtensionUnsupported(String)
A glTF extension required by the asset is not supported by the library.
FileNotFound(PathBuf)
File not found.
IncompatibleVersion(String)
The glTF version of the asset is incompatible with the importer.
Io(Error)
Standard I/O error.
Gltf(Error)
gltf
crate error.
MalformedJson(Error)
Failure when deserializing .gltf or .glb JSON.
Validation(Vec<(Path, Error)>)
The .gltf data is invalid.
Trait Implementations
impl Debug for Error
[src]
impl From<Error> for Error
[src]
impl From<Error> for Error
[src]
impl From<Vec<(Path, Error)>> for Error
[src]
impl From<Error> for Error
[src]
impl From<DecodeError> for Error
[src]
fn from(err: DecodeError) -> Error
[src]
Performs the conversion.
impl Display for Error
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more