pub enum ParseEvent {
Started {
file_size: usize,
timestamp: f64,
},
EntityScanned {
id: u32,
ifc_type: IfcType,
position: usize,
},
GeometryReady {
id: u32,
vertex_count: usize,
triangle_count: usize,
},
Progress {
phase: String,
percent: f32,
entities_processed: usize,
total_entities: usize,
},
Completed {
duration_ms: f64,
entity_count: usize,
triangle_count: usize,
},
Error {
message: String,
position: Option<usize>,
},
}Expand description
Parse event types emitted during streaming parse
Variants§
Started
Parsing started
EntityScanned
Entity discovered during scanning
GeometryReady
Geometry processing completed for an entity
Progress
Progress update
Fields
Completed
Parsing completed
Fields
Error
Error occurred
Trait Implementations§
Source§impl Clone for ParseEvent
impl Clone for ParseEvent
Source§fn clone(&self) -> ParseEvent
fn clone(&self) -> ParseEvent
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 moreAuto Trait Implementations§
impl Freeze for ParseEvent
impl RefUnwindSafe for ParseEvent
impl Send for ParseEvent
impl Sync for ParseEvent
impl Unpin for ParseEvent
impl UnwindSafe for ParseEvent
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