pub struct NixCopyTask {
pub host: String,
}Expand description
Copy the built closure to the target host.
Reads: build:{host} → store path to copy
Writes output: copy:{host} → String (copied store path)
Fields§
§host: StringImplementations§
Trait Implementations§
Source§impl DagTask for NixCopyTask
impl DagTask for NixCopyTask
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 NixCopyTask
impl RefUnwindSafe for NixCopyTask
impl Send for NixCopyTask
impl Sync for NixCopyTask
impl Unpin for NixCopyTask
impl UnsafeUnpin for NixCopyTask
impl UnwindSafe for NixCopyTask
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