Enum gltf::Error[][src]

pub enum Error {
    Base64(DecodeError),
    Binary(Error),
    BufferLength {
        buffer: usize,
        expected: usize,
        actual: usize,
    },
    Deserialize(Error),
    Io(Error),
    Image(ImageError),
    MissingBlob,
    UnsupportedImageEncoding,
    UnsupportedScheme,
    Validation(Vec<(Path, Error)>),
}

Represents a runtime error.

Variants

Base 64 decoding error.

GLB parsing error.

Buffer length does not match expected length.

Fields of BufferLength

The index of the offending buffer.

The expected buffer length in bytes.

The number of bytes actually available.

JSON deserialization error.

Standard I/O error.

Image decoding error.

The BIN chunk of binary glTF is referenced but does not exist.

Unsupported image encoding.

Unsupported URI scheme.

glTF validation error.

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter. Read more

impl Display for Error
[src]

Formats the value using the given formatter. Read more

impl Error for Error
[src]

This method is soft-deprecated. Read more

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

impl From<Error> for Error
[src]

Performs the conversion.

impl From<Error> for Error
[src]

Performs the conversion.

impl From<ImageError> for Error
[src]

Performs the conversion.

impl From<Error> for Error
[src]

Performs the conversion.

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

Performs the conversion.

Auto Trait Implementations

impl Send for Error

impl Sync for Error