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 Freeze for ProcessingUpdate
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more