pub struct RunCtx<'a> {
pub workdir: &'a Path,
pub token_env: &'a str,
}Expand description
Everything a runner needs to launch a job.
Fields§
§workdir: &'a PathDetached worktree of the sha under test.
token_env: &'a strName of the env var holding the auth token (the runner decides
how to pass it — e.g. env:// secret for dagger).
Auto Trait Implementations§
impl<'a> Freeze for RunCtx<'a>
impl<'a> RefUnwindSafe for RunCtx<'a>
impl<'a> Send for RunCtx<'a>
impl<'a> Sync for RunCtx<'a>
impl<'a> Unpin for RunCtx<'a>
impl<'a> UnsafeUnpin for RunCtx<'a>
impl<'a> UnwindSafe for RunCtx<'a>
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