pub enum JobState {
Running,
Ended(Value),
}Expand description
What the task journal says about a goal job.
Variants§
Running
Admitted and not ended (it runs under this worker).
Ended(Value)
Ended, with its durable result (NativeResult; status: "interrupted" when a restart cut it off).
Trait Implementations§
impl StructuralPartialEq for JobState
Auto Trait Implementations§
impl Forget for JobState
impl Freeze for JobState
impl Move for JobState
impl RefUnwindSafe for JobState
impl Send for JobState
impl Sync for JobState
impl Unpin for JobState
impl UnsafeUnpin for JobState
impl UnwindSafe for JobState
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