pub struct NixEvalTask {
pub host: String,
}Expand description
Evaluate a single host — resolve its toplevel store path.
Writes output: eval:{host} → String (toplevel store path)
Fields§
§host: StringImplementations§
Trait Implementations§
Source§impl DagTask for NixEvalTask
impl DagTask for NixEvalTask
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 NixEvalTask
impl RefUnwindSafe for NixEvalTask
impl Send for NixEvalTask
impl Sync for NixEvalTask
impl Unpin for NixEvalTask
impl UnsafeUnpin for NixEvalTask
impl UnwindSafe for NixEvalTask
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