Struct amethyst_assets::AssetError [] [src]

pub struct AssetError<A, F, S> {
    pub asset: AssetSpec,
    pub error: LoadError<A, F, S>,
}

Error type returned when loading an asset. Includes the AssetSpec and the error (LoadError).

Fields

The specifier of the asset which failed to load

The error that's been raised.

Trait Implementations

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

Formats the value using the given formatter.

impl<A, F, S> Display for AssetError<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 AssetError<A, F, S> where
    A: Error,
    F: Error,
    S: Error
[src]

A short description of the error. Read more

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