Enum lessanvil::ProcessingUpdate
source · pub enum ProcessingUpdate {
Starting {
total_files: u64,
},
ProcessedRegion(Result<ProcessedRegion, RegionProcessingError>),
Finished(Report),
}
Expand description
An update during lessanvil’s execution.
Variants§
Starting
Only sent once after the processing started.
ProcessedRegion(Result<ProcessedRegion, RegionProcessingError>)
Sent after a region has been processed.
Contains the Result
of the processed region.
Finished(Report)
Only sent once after the entire execution finished. This is the last message sent through the Channel.
Auto Trait Implementations§
impl !RefUnwindSafe for ProcessingUpdate
impl Send for ProcessingUpdate
impl Sync for ProcessingUpdate
impl Unpin for ProcessingUpdate
impl !UnwindSafe for ProcessingUpdate
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