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
AssetError(A)
The conversion from data -> asset failed.
FormatError(F)
The conversion from bytes -> data failed.
StorageError(S)
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]
fn clone(&self) -> LoadError<A, F, S>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl<A: Debug, F: Debug, S: Debug> Debug for LoadError<A, F, S>
[src]
impl<A, F, S> Display for LoadError<A, F, S> where
A: Display,
F: Display,
S: Display,
[src]
A: Display,
F: Display,
S: Display,
fn fmt(&self, f: &mut Formatter) -> FmtResult
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]
A: Error,
F: Error,
S: Error,