pub struct MemoRunner { /* private fields */ }Expand description
A runner that already knows the exit codes of the commands it will be
asked for: every Verified unit’s Verification rows, each distinct command
run once, jobs at a time. The audit then reads the results.
Implementations§
Source§impl MemoRunner
impl MemoRunner
Sourcepub fn for_verified(
inst: &Instance,
cwd: &Path,
jobs: usize,
) -> Result<MemoRunner, CoreError>
pub fn for_verified( inst: &Instance, cwd: &Path, jobs: usize, ) -> Result<MemoRunner, CoreError>
Run every Verified unit’s rows now.
Sourcepub fn for_verified_watched(
inst: &Instance,
cwd: &Path,
jobs: usize,
w: &dyn Watch,
) -> Result<MemoRunner, CoreError>
pub fn for_verified_watched( inst: &Instance, cwd: &Path, jobs: usize, w: &dyn Watch, ) -> Result<MemoRunner, CoreError>
for_verified, telling w as each command starts and ends.
Trait Implementations§
Source§impl CommandRunner for MemoRunner
impl CommandRunner for MemoRunner
Auto Trait Implementations§
impl Forget for MemoRunner
impl Freeze for MemoRunner
impl Move for MemoRunner
impl RefUnwindSafe for MemoRunner
impl Send for MemoRunner
impl Sync for MemoRunner
impl Unpin for MemoRunner
impl UnsafeUnpin for MemoRunner
impl UnwindSafe for MemoRunner
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