pub enum OpenBimError {
EmptySourceId,
EmptyEntityId,
DuplicateEntityId {
source_id: String,
local_id: String,
},
IntegrationUnavailable {
integration: &'static str,
},
}Expand description
Errors produced while forming or importing a semantic source.
Variants§
EmptySourceId
A source ID is required to prevent cross-source identity collisions.
EmptyEntityId
An entity must have a nonempty source-local ID.
DuplicateEntityId
Two entities shared the same local ID in one source.
Fields
A concrete external parser has not been selected or linked.
Trait Implementations§
Source§impl Debug for OpenBimError
impl Debug for OpenBimError
Source§impl Display for OpenBimError
impl Display for OpenBimError
Source§impl Error for OpenBimError
impl Error for OpenBimError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl PartialEq for OpenBimError
impl PartialEq for OpenBimError
impl Eq for OpenBimError
impl StructuralPartialEq for OpenBimError
Auto Trait Implementations§
impl Freeze for OpenBimError
impl RefUnwindSafe for OpenBimError
impl Send for OpenBimError
impl Sync for OpenBimError
impl Unpin for OpenBimError
impl UnwindSafe for OpenBimError
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