pub struct LoadingError {
pub id: u32,
pub kind: LoadingErrorKind,
}Fields§
§id: u32§kind: LoadingErrorKindImplementations§
Source§impl LoadingError
impl LoadingError
pub fn no_package(id: u32, package_requirement: PackageRequirement) -> Self
pub fn no_entry_point_provided(id: u32) -> Self
pub fn unreachable_file(id: u32, path: PathBuf, error: String) -> Self
pub fn wrong_configuration(id: u32, package: String) -> Self
pub fn not_found(id: u32, element: String) -> Self
pub fn circular_reference(id: u32, identifier: IdentifierRequirement) -> Self
pub fn repository_error(id: u32, error: Arc<dyn RepositoryError>) -> Self
pub fn content_error(id: u32, error: Arc<dyn ContentError>) -> Self
pub fn context_expected( id: u32, expecter: Option<Identifier>, identifier_requirement: IdentifierRequirement, ) -> Self
pub fn function_expected( id: u32, expecter: Option<Identifier>, identifier_requirement: IdentifierRequirement, ) -> Self
pub fn model_expected( id: u32, expecter: Option<Identifier>, identifier_requirement: IdentifierRequirement, ) -> Self
pub fn treatment_expected( id: u32, expecter: Option<Identifier>, identifier_requirement: IdentifierRequirement, ) -> Self
pub fn jeu_format_error(id: u32, error: String) -> Self
pub fn mapping_format_error(id: u32, error: String) -> Self
pub fn uncompatible_platform(id: u32, platform: String) -> Self
pub fn library_loading_error(id: u32, path: PathBuf, error: String) -> Self
Trait Implementations§
Source§impl Clone for LoadingError
impl Clone for LoadingError
Source§fn clone(&self) -> LoadingError
fn clone(&self) -> LoadingError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LoadingError
impl Debug for LoadingError
Auto Trait Implementations§
impl Freeze for LoadingError
impl !RefUnwindSafe for LoadingError
impl Send for LoadingError
impl Sync for LoadingError
impl Unpin for LoadingError
impl UnsafeUnpin for LoadingError
impl !UnwindSafe for LoadingError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.