Enum treasury_import::ImportError
source · [−]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
Fields
dependencies: Vec<Dependency>Importer requires following dependencies.
Other
Fields
reason: StringFailure reason.
Importer failed to import the asset.
Auto Trait Implementations
impl RefUnwindSafe for ImportError
impl Send for ImportError
impl Sync for ImportError
impl Unpin for ImportError
impl UnwindSafe for ImportError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more