Enum amethyst_assets::PrefabError [−]
pub enum PrefabError {
Custom(BoxedErr),
WrongGeneration(WrongGeneration),
// some variants omitted
}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 Errorfn description(&self) -> &str
fn description(&self) -> &strThis method is soft-deprecated. Read more
fn cause(&self) -> Option<&Error>
fn cause(&self) -> Option<&Error>The lower-level cause of this error, if any. Read more
impl From<WrongGeneration> for Error
impl From<WrongGeneration> for Errorimpl From<NoError> for Error
impl From<NoError> for Errorimpl Display for Error
impl Display for Errorfn fmt(&self, f: &mut Formatter) -> Result<(), Error>
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>Formats the value using the given formatter. Read more
impl Debug for Error
impl Debug for Error