pub struct RecoveredTask<P> {
pub id: TaskId,
pub seq: u64,
pub arrival: Time,
pub spec: TaskSpec<P>,
pub attempt: u32,
}Expand description
A non-terminal task restored from durable storage.
Fields§
§id: TaskIdTask id.
seq: u64Original submission sequence number.
arrival: TimeOriginal submission time.
spec: TaskSpec<P>The task spec.
attempt: u32Attempts already made (a task that was running counts its lost attempt).
Trait Implementations§
Auto Trait Implementations§
impl<P> Freeze for RecoveredTask<P>
impl<P> RefUnwindSafe for RecoveredTask<P>where
TaskSpec<P>: RefUnwindSafe,
impl<P> Send for RecoveredTask<P>
impl<P> Sync for RecoveredTask<P>
impl<P> Unpin for RecoveredTask<P>
impl<P> UnsafeUnpin for RecoveredTask<P>where
TaskSpec<P>: UnsafeUnpin,
impl<P> UnwindSafe for RecoveredTask<P>where
TaskSpec<P>: UnwindSafe,
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