pub enum ImportError {
RequireSources {
sources: Vec<String>,
},
RequireDependencies {
dependencies: Vec<Dependency>,
},
Other {
reason: String,
},
}Expand description
Result of Importer::import method.
Variants§
RequireSources
Importer requires data from other sources.
RequireDependencies
Importer requires following dependencies.
Fields
§
dependencies: Vec<Dependency>Other
Importer failed to import the asset.
Auto Trait Implementations§
impl Freeze for ImportError
impl RefUnwindSafe for ImportError
impl Send for ImportError
impl Sync for ImportError
impl Unpin for ImportError
impl UnwindSafe for ImportError
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