pub enum WorkerState {
Pending,
Running,
Done,
Aborted,
}Expand description
Current state of a worker.
Variants§
Pending
Worker is created but not started yet.
Running
Worker is currently running.
Done
Worker has completed.
Aborted
Worker was aborted.
Trait Implementations§
Source§impl Clone for WorkerState
impl Clone for WorkerState
impl Copy for WorkerState
Source§impl Debug for WorkerState
impl Debug for WorkerState
impl Eq for WorkerState
Source§impl PartialEq for WorkerState
impl PartialEq for WorkerState
impl StructuralPartialEq for WorkerState
Auto Trait Implementations§
impl Freeze for WorkerState
impl RefUnwindSafe for WorkerState
impl Send for WorkerState
impl Sync for WorkerState
impl Unpin for WorkerState
impl UnsafeUnpin for WorkerState
impl UnwindSafe for WorkerState
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