pub enum IfcSessionError {
Identity(String),
Parse(String),
IncompleteModel {
diagnostics: usize,
},
UnsupportedSchema(Vec<String>),
Project(String),
Session(String),
}Expand description
Production IFC import/session construction failure.
Variants§
Identity(String)
Source document identity was blank or otherwise invalid.
Parse(String)
Strict STEP parsing failed.
IncompleteModel
The parser recovered with diagnostics, so the snapshot is incomplete.
UnsupportedSchema(Vec<String>)
The file did not declare exactly one supported IFC4 schema.
Project(String)
Source-neutral project construction failed.
Session(String)
Immutable snapshot/session binding failed.
Trait Implementations§
Source§impl Debug for IfcSessionError
impl Debug for IfcSessionError
Source§impl Display for IfcSessionError
impl Display for IfcSessionError
Source§impl Error for IfcSessionError
impl Error for IfcSessionError
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 IfcSessionError
impl PartialEq for IfcSessionError
impl Eq for IfcSessionError
impl StructuralPartialEq for IfcSessionError
Auto Trait Implementations§
impl Freeze for IfcSessionError
impl RefUnwindSafe for IfcSessionError
impl Send for IfcSessionError
impl Sync for IfcSessionError
impl Unpin for IfcSessionError
impl UnwindSafe for IfcSessionError
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