pub struct JobStep<T> {
pub sequence: u64,
pub source_revision: u64,
pub examined: u64,
pub input_bytes: u64,
pub output_bytes: usize,
pub outcome: JobOutcome<T>,
}Expand description
Saved progress. Older sequences do not rescan; revision and expiry checks still apply.
Fields§
§sequence: u64Supply this sequence on the next advance. Newly created jobs start at zero.
source_revision: u64Entity revision captured at creation, including for completed historical results.
examined: u64Cumulative examined primary/index candidates, including residual nonmatches.
input_bytes: u64Cumulative source row/key bytes, excluding supplier traversal/allocator overhead.
output_bytes: usizeEncoded returned result/page size; zero while no result is available.
outcome: JobOutcome<T>Explicit progress, completion, invalidation or expiry.
Trait Implementations§
Auto Trait Implementations§
impl<T> Forget for JobStep<T>
impl<T> Freeze for JobStep<T>where
JobOutcome<T>: Freeze,
impl<T> Move for JobStep<T>
impl<T> RefUnwindSafe for JobStep<T>where
JobOutcome<T>: RefUnwindSafe,
impl<T> Send for JobStep<T>where
JobOutcome<T>: Send,
impl<T> Sync for JobStep<T>where
JobOutcome<T>: Sync,
impl<T> Unpin for JobStep<T>where
JobOutcome<T>: Unpin,
impl<T> UnsafeUnpin for JobStep<T>where
JobOutcome<T>: UnsafeUnpin,
impl<T> UnwindSafe for JobStep<T>where
JobOutcome<T>: 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