pub struct SlurmSubmitTask {
pub job_name: String,
pub script: String,
pub partition: Option<String>,
pub submit_host: String,
pub submit_user: String,
}Expand description
Submit a slurm job via sbatch.
Fields§
§job_name: String§script: String§partition: Option<String>§submit_host: String§submit_user: StringTrait Implementations§
Source§impl DagTask for SlurmSubmitTask
impl DagTask for SlurmSubmitTask
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 SlurmSubmitTask
impl RefUnwindSafe for SlurmSubmitTask
impl Send for SlurmSubmitTask
impl Sync for SlurmSubmitTask
impl Unpin for SlurmSubmitTask
impl UnsafeUnpin for SlurmSubmitTask
impl UnwindSafe for SlurmSubmitTask
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