pub struct RaySubmitTask {
pub job_name: String,
pub entrypoint: String,
pub head_address: String,
pub dashboard_port: u16,
pub working_dir: Option<String>,
}Expand description
Submit a ray job via the Ray Jobs API.
Fields§
§job_name: String§entrypoint: String§head_address: String§dashboard_port: u16§working_dir: Option<String>Trait Implementations§
Source§impl DagTask for RaySubmitTask
impl DagTask for RaySubmitTask
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 RaySubmitTask
impl RefUnwindSafe for RaySubmitTask
impl Send for RaySubmitTask
impl Sync for RaySubmitTask
impl Unpin for RaySubmitTask
impl UnsafeUnpin for RaySubmitTask
impl UnwindSafe for RaySubmitTask
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