pub struct SlurmWaitTask {
pub job_name: String,
pub submit_host: String,
pub submit_user: String,
pub poll_interval: Duration,
pub timeout: Option<Duration>,
}Expand description
Wait for a slurm job to complete by polling sacct.
Fields§
§job_name: String§submit_host: String§submit_user: String§poll_interval: Duration§timeout: Option<Duration>Implementations§
Trait Implementations§
Source§impl DagTask for SlurmWaitTask
impl DagTask for SlurmWaitTask
Source§fn execute(&self, ctx: &DagContext) -> TaskOutcome
fn execute(&self, ctx: &DagContext) -> TaskOutcome
Execute this task.
Source§fn resource_tag(&self) -> Option<&str>
fn resource_tag(&self) -> Option<&str>
Optional resource tag for worker pool slot management.
Tasks with a resource tag require a matching slot in the pool.
Auto Trait Implementations§
impl Freeze for SlurmWaitTask
impl RefUnwindSafe for SlurmWaitTask
impl Send for SlurmWaitTask
impl Sync for SlurmWaitTask
impl Unpin for SlurmWaitTask
impl UnsafeUnpin for SlurmWaitTask
impl UnwindSafe for SlurmWaitTask
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