pub struct StormJob {
pub runtime_ms: u64,
pub slots: u32,
pub project_root: String,
pub policy: JobPolicy,
pub kind: JobKind,
pub cancel_when_queued: bool,
}Expand description
One agent’s compilation job submitted into the storm.
Fields§
§runtime_ms: u64Virtual remote runtime in milliseconds.
slots: u32Slots the job needs.
project_root: StringProject root (used for cache/affinity attribution and varied fixtures).
policy: JobPolicyFallback policy.
kind: JobKindCommand kind.
cancel_when_queued: boolIf the job ends up queued, cancel it before it starts (exercises the cancel-before-start path) instead of waiting for a slot.
Implementations§
Source§impl StormJob
impl StormJob
Trait Implementations§
impl StructuralPartialEq for StormJob
Auto Trait Implementations§
impl Freeze for StormJob
impl RefUnwindSafe for StormJob
impl Send for StormJob
impl Sync for StormJob
impl Unpin for StormJob
impl UnsafeUnpin for StormJob
impl UnwindSafe for StormJob
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