pub enum ProgressEventKind {
LayerStarted {
layer: MappingLayer,
message: String,
},
LayerCompleted {
layer: MappingLayer,
message: String,
duration_ms: u64,
},
LayerSkipped {
layer: MappingLayer,
reason: String,
},
MappingProgress {
urls_discovered: u32,
pages_fetched: u32,
nodes_built: u32,
edges_built: u32,
active_requests: u32,
elapsed_ms: u64,
prices_found: u32,
ratings_found: u32,
actions_found: u32,
},
UrlProcessed {
url: String,
status: u16,
page_type: Option<String>,
},
MappingComplete {
node_count: u32,
edge_count: u32,
action_count: u32,
elapsed_ms: u64,
},
Warning {
message: String,
},
}Expand description
The specific kind of progress event.
Variants§
LayerStarted
A mapping layer has started processing.
LayerCompleted
A mapping layer completed successfully.
LayerSkipped
A mapping layer was skipped (not needed).
MappingProgress
Aggregate counter update during mapping (emitted periodically).
Fields
UrlProcessed
A single URL was fetched or processed.
MappingComplete
Mapping completed successfully.
Warning
A non-fatal warning occurred.
Trait Implementations§
Source§impl Clone for ProgressEventKind
impl Clone for ProgressEventKind
Source§fn clone(&self) -> ProgressEventKind
fn clone(&self) -> ProgressEventKind
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 ProgressEventKind
impl Debug for ProgressEventKind
Source§impl<'de> Deserialize<'de> for ProgressEventKind
impl<'de> Deserialize<'de> for ProgressEventKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ProgressEventKind
impl RefUnwindSafe for ProgressEventKind
impl Send for ProgressEventKind
impl Sync for ProgressEventKind
impl Unpin for ProgressEventKind
impl UnsafeUnpin for ProgressEventKind
impl UnwindSafe for ProgressEventKind
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