pub struct JobResult {
pub chunk_results: BTreeMap<ChunkId, ChunkResult>,
pub aggregate: Vec<u8>,
pub succeeded: u32,
pub failed: u32,
pub skipped: u32,
}Expand description
Aggregate result of a job run.
Fields§
§chunk_results: BTreeMap<ChunkId, ChunkResult>Per-chunk results keyed by ChunkId.
aggregate: Vec<u8>Aggregated output from the reducer.
succeeded: u32Number of chunks that succeeded.
failed: u32Number of chunks that failed permanently.
skipped: u32Number of chunks skipped (idempotent — already had output).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for JobResult
impl RefUnwindSafe for JobResult
impl Send for JobResult
impl Sync for JobResult
impl Unpin for JobResult
impl UnwindSafe for JobResult
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