Enum amethyst_assets::LoadError [] [src]

pub enum LoadError<A, F, S> {
    AssetError(A),
    FormatError(F),
    StorageError(S),
}

Combined error type which is produced when loading an asset. This error does not include information which asset failed to load. For that, please look at AssetError.

Variants

The conversion from data -> asset failed.

The conversion from bytes -> data failed.

The storage was unable to retrieve the requested data.

Trait Implementations

impl<A: Clone, F: Clone, S: Clone> Clone for LoadError<A, F, S>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<A: Debug, F: Debug, S: Debug> Debug for LoadError<A, F, S>
[src]

Formats the value using the given formatter.

impl<A, F, S> Display for LoadError<A, F, S> where
    A: Display,
    F: Display,
    S: Display
[src]

Formats the value using the given formatter. Read more

impl<A, F, S> Error for LoadError<A, F, S> where
    A: Error,
    F: Error,
    S: Error
[src]

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

A short description of the error. Read more