pub struct JobStage {
pub stage: Stage,
pub component: ComponentKind,
pub component_role: ComponentRole,
pub start_offset_ns: u64,
pub duration_ns: u64,
pub wait_duration_ns: u64,
pub wait_reason: Option<WaitReason>,
pub attempt: u32,
pub bytes: Option<u64>,
pub resumed_bytes: Option<u64>,
pub records: Option<u64>,
pub outcome: Outcome,
}Expand description
One non-overlapping active interval in a local workspace job.
Fields§
§stage: StageFinite stage class.
component: ComponentKindComponent that actually ran.
component_role: ComponentRoleFinite role played by that component.
start_offset_ns: u64Offset from job start, in nanoseconds.
duration_ns: u64Wall duration, in nanoseconds.
wait_duration_ns: u64Time within the interval spent waiting.
wait_reason: Option<WaitReason>Finite reason when wait duration is nonzero.
attempt: u32One-based attempt number.
bytes: Option<u64>Exact byte count, when the operation already knows it.
resumed_bytes: Option<u64>Bytes already present before this attempt, when the operation knows it.
records: Option<u64>Exact record count, when the operation already knows it.
outcome: OutcomeNormalized stage outcome.
Trait Implementations§
impl Copy for JobStage
impl Eq for JobStage
impl StructuralPartialEq for JobStage
Auto Trait Implementations§
impl Freeze for JobStage
impl RefUnwindSafe for JobStage
impl Send for JobStage
impl Sync for JobStage
impl Unpin for JobStage
impl UnsafeUnpin for JobStage
impl UnwindSafe for JobStage
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