pub struct PreparedTask {Show 15 fields
pub id: String,
pub commands: Vec<String>,
pub parallel: bool,
pub cwd: PathBuf,
pub env: BTreeMap<OsString, OsString>,
pub runtime_env: BTreeMap<OsString, OsString>,
pub node_path: Option<NodePath>,
pub execution: BTreeMap<OsString, OsString>,
pub ready_when: Vec<String>,
pub ready: Arc<AtomicBool>,
pub decorations: Vec<Decoration>,
pub interactive: bool,
pub sandbox: Option<Confinement>,
pub recording: Option<Recording>,
pub display: Display,
}Fields§
§id: String§commands: Vec<String>§parallel: bool§cwd: PathBuf§env: BTreeMap<OsString, OsString>§runtime_env: BTreeMap<OsString, OsString>Dotenv, explicit settings and local binary lookup without task metadata.
node_path: Option<NodePath>§execution: BTreeMap<OsString, OsString>Variables set for the process after env that are not part of what
the task is: nothing reads them to key it, such as a thread count.
ready_when: Vec<String>Nx’s readyWhen: text whose appearance in the output, every piece of
it, makes the task ready while its commands keep running.
ready: Arc<AtomicBool>Set once all of ready_when has appeared.
decorations: Vec<Decoration>Each command’s prefix and colours, by position; empty without any.
interactive: boolWhether the task reads qk’s stdin, and has the terminal while it runs. The runner sets it for the one task a run is for, when that task has a single command whose output goes straight to the terminal.
sandbox: Option<Confinement>What the commands run under, for --sandbox.
recording: Option<Recording>§display: DisplayHow the task’s output is shown; the runner sets it per output style.
Trait Implementations§
Source§impl Clone for PreparedTask
impl Clone for PreparedTask
Auto Trait Implementations§
impl Freeze for PreparedTask
impl RefUnwindSafe for PreparedTask
impl Send for PreparedTask
impl Sync for PreparedTask
impl Unpin for PreparedTask
impl UnsafeUnpin for PreparedTask
impl UnwindSafe for PreparedTask
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