pub enum BevyLoadErrorCodeV1 {
Show 17 variants
EmptyPath,
RequestedHandleTypeMismatch,
MissingAssetLoader,
MissingAssetLoaderForExtension,
MissingAssetLoaderForTypeName,
MissingAssetLoaderForTypeId,
AssetReader,
MissingAssetSource,
MissingProcessedAssetReader,
AssetMetadata,
DeserializeMetadata,
CannotLoadProcessedAsset,
CannotLoadIgnoredAsset,
LoaderPanic,
Loader,
AddAsync,
MissingLabel,
}Expand description
Closed, prose-free classification of a public Bevy load error variant.
Variants§
EmptyPath
Empty asset path.
RequestedHandleTypeMismatch
Requested handle had a wrong type.
MissingAssetLoader
No matching loader exists.
MissingAssetLoaderForExtension
Extension selected no loader.
MissingAssetLoaderForTypeName
Loader type name is missing.
MissingAssetLoaderForTypeId
Loader type ID is missing.
AssetReader
Asset bytes cannot be read.
MissingAssetSource
Asset source is unavailable.
MissingProcessedAssetReader
Processed reader is unavailable.
AssetMetadata
Metadata bytes cannot be read.
DeserializeMetadata
Metadata cannot be decoded.
CannotLoadProcessedAsset
Asset is processed-only.
CannotLoadIgnoredAsset
Asset is ignored.
LoaderPanic
Loader panicked.
Loader
Loader returned an opaque error.
AddAsync
Async dependency resolution failed.
MissingLabel
A labeled subasset was absent.
Trait Implementations§
Source§impl Clone for BevyLoadErrorCodeV1
impl Clone for BevyLoadErrorCodeV1
Source§fn clone(&self) -> BevyLoadErrorCodeV1
fn clone(&self) -> BevyLoadErrorCodeV1
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BevyLoadErrorCodeV1
Source§impl Debug for BevyLoadErrorCodeV1
impl Debug for BevyLoadErrorCodeV1
Source§impl<'de> Deserialize<'de> for BevyLoadErrorCodeV1
impl<'de> Deserialize<'de> for BevyLoadErrorCodeV1
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for BevyLoadErrorCodeV1
Source§impl Ord for BevyLoadErrorCodeV1
impl Ord for BevyLoadErrorCodeV1
Source§fn cmp(&self, other: &BevyLoadErrorCodeV1) -> Ordering
fn cmp(&self, other: &BevyLoadErrorCodeV1) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for BevyLoadErrorCodeV1
impl PartialEq for BevyLoadErrorCodeV1
Source§impl PartialOrd for BevyLoadErrorCodeV1
impl PartialOrd for BevyLoadErrorCodeV1
Source§impl Serialize for BevyLoadErrorCodeV1
impl Serialize for BevyLoadErrorCodeV1
impl StructuralPartialEq for BevyLoadErrorCodeV1
Auto Trait Implementations§
impl Freeze for BevyLoadErrorCodeV1
impl RefUnwindSafe for BevyLoadErrorCodeV1
impl Send for BevyLoadErrorCodeV1
impl Sync for BevyLoadErrorCodeV1
impl Unpin for BevyLoadErrorCodeV1
impl UnsafeUnpin for BevyLoadErrorCodeV1
impl UnwindSafe for BevyLoadErrorCodeV1
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more