pub enum JobProcessingState {
PendingDownload,
Downloading,
Downloaded(PathBuf),
WaitingForDependencies(PathBuf),
DispatchedToCore(PathBuf),
Installing(PathBuf),
Succeeded,
Failed(Arc<SpsError>),
}Expand description
Represents the current processing state of a job in the pipeline.
Variants§
PendingDownload
Waiting for download to be initiated.
Downloading
Download is in progress (managed by DownloadCoordinator).
Downloaded(PathBuf)
Download completed successfully, artifact at PathBuf.
WaitingForDependencies(PathBuf)
Downloaded, but waiting for dependencies to be in Succeeded state.
DispatchedToCore(PathBuf)
Dispatched to the core worker pool for installation/processing.
Installing(PathBuf)
Installation/processing is in progress by a core worker.
Succeeded
Job completed successfully.
Failed(Arc<SpsError>)
Job failed. The String contains the error message. Arc for cheap cloning.
Trait Implementations§
Source§impl Clone for JobProcessingState
impl Clone for JobProcessingState
Source§fn clone(&self) -> JobProcessingState
fn clone(&self) -> JobProcessingState
Returns a copy 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 JobProcessingState
impl !RefUnwindSafe for JobProcessingState
impl Send for JobProcessingState
impl Sync for JobProcessingState
impl Unpin for JobProcessingState
impl !UnwindSafe for JobProcessingState
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