pub struct RayWaitTask {
pub job_name: String,
pub head_address: String,
pub dashboard_port: u16,
pub poll_interval: Duration,
pub timeout: Option<Duration>,
}Expand description
Wait for a ray job to complete by polling the Jobs API.
Fields§
§job_name: String§head_address: String§dashboard_port: u16§poll_interval: Duration§timeout: Option<Duration>Trait Implementations§
Source§impl DagTask for RayWaitTask
impl DagTask for RayWaitTask
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 RayWaitTask
impl RefUnwindSafe for RayWaitTask
impl Send for RayWaitTask
impl Sync for RayWaitTask
impl Unpin for RayWaitTask
impl UnsafeUnpin for RayWaitTask
impl UnwindSafe for RayWaitTask
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