pub struct NixBuildSkyEnvTask {
pub env_name: String,
pub flake_attr: String,
}Expand description
Build a skypilot task environment via nix.
Fields§
§env_name: String§flake_attr: StringImplementations§
Trait Implementations§
Source§impl DagTask for NixBuildSkyEnvTask
impl DagTask for NixBuildSkyEnvTask
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 NixBuildSkyEnvTask
impl RefUnwindSafe for NixBuildSkyEnvTask
impl Send for NixBuildSkyEnvTask
impl Sync for NixBuildSkyEnvTask
impl Unpin for NixBuildSkyEnvTask
impl UnsafeUnpin for NixBuildSkyEnvTask
impl UnwindSafe for NixBuildSkyEnvTask
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