pub struct TaskFile { /* private fields */ }Expand description
A parsed task file: the jobs, any file-level environment hoisted to all of
them (an Env: under a section heading applies to every job regardless of
where in the document it appears; hoisting is not positional), and any parse
warnings (an unterminated fence, a duplicate job, an unknown fence language).
Parsing is infallible. A malformed file still yields what it can, so an
embedder should surface warnings() rather than trust silence. The internal
fields carry execution mechanics; a consumer reaches jobs through jobs and
job, and runs them through run, run_captured, or run_agent.
Implementations§
Trait Implementations§
impl Eq for TaskFile
impl StructuralPartialEq for TaskFile
Auto Trait Implementations§
impl Freeze for TaskFile
impl RefUnwindSafe for TaskFile
impl Send for TaskFile
impl Sync for TaskFile
impl Unpin for TaskFile
impl UnsafeUnpin for TaskFile
impl UnwindSafe for TaskFile
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