Enum amethyst_assets::PrefabError
pub enum PrefabError {
Custom(BoxedErr),
WrongGeneration(WrongGeneration),
// some variants omitted
}
Expand description
The Specs error type. This is an enum which is able to represent all error types of this library.
Please note that you should not use __NonExhaustive
,
which is a variant specifically added for extensibility
without breakage.
Variants
Custom(BoxedErr)
A custom, boxed error.
WrongGeneration(WrongGeneration)
Wrong generation error.
Trait Implementations
impl Error for Error
impl Error for Error
fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
fn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
Blanket Implementations
impl<T> Any for Twhere
T: Any,
impl<T> Any for Twhere
T: Any,
fn get_type_id(&self) -> TypeId
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more