Enum gltf::import::Error [] [src]

pub enum Error<S: Source> {
    Decode(ImageError),
    ExtensionDisabled(String),
    ExtensionUnsupported(String),
    IncompatibleVersion(String),
    Io(Error),
    MalformedGlb(String),
    MalformedJson(Error),
    Shared(SharedError<Error<S>>),
    Source(S::Error),
    Validation(Vec<(Path, Error)>),
}

Error encountered when importing a glTF 2.0 asset.

Variants

A glTF image could not be decoded.

A glTF extension required by the asset has not been enabled by the user.

A glTF extension required by the asset is not supported by the library.

The glTF version of the asset is incompatible with the importer.

Standard I/O error.

Failure when parsing a .glb file.

Failure when deserializing .gltf or .glb JSON.

Data source error.

Data source error.

The .gltf data is invalid.

Trait Implementations

impl<S: Debug + Source> Debug for Error<S> where
    S::Error: Debug
[src]

Formats the value using the given formatter.

impl<S: Source> From<ImageError> for Error<S>
[src]

Performs the conversion.

impl<S: Source> From<Error> for Error<S>
[src]

Performs the conversion.

impl<S: Source> From<Error> for Error<S>
[src]

Performs the conversion.

impl<S: Source> From<SharedError<Error<S>>> for Error<S>
[src]

Performs the conversion.

impl<S: Source> From<Vec<(Path, Error)>> for Error<S>
[src]

Performs the conversion.

impl<S: Source> Display for Error<S>
[src]

Formats the value using the given formatter. Read more

impl<S: Source> Error for Error<S>
[src]

A short description of the error. Read more

The lower-level cause of this error, if any. Read more