pub fn plan(spec: &AttemptSpec, setup: &WorkerSetup) -> Result<Plan, NotRun>Expand description
Plans an attempt on this worker.
§Errors
NotRun::Rejected when the DAG file isn’t here (code not there yet) or the task can’t
run on a worker (an empty task); NotRun::Failed when a command’s templates can’t be
rendered or its environment sets a reserved variable.