pub struct ExecCtx<'a> {
pub sub: &'a str,
pub level: Level,
pub exit_code: i32,
pub args: &'a [String],
}Expand description
Per-invocation context passed to the executor and propagated as env
vars to shell: / python: subprocesses.
Fields§
§sub: &'a str§level: Level§exit_code: i32§args: &'a [String]Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for ExecCtx<'a>
impl<'a> RefUnwindSafe for ExecCtx<'a>
impl<'a> Send for ExecCtx<'a>
impl<'a> Sync for ExecCtx<'a>
impl<'a> Unpin for ExecCtx<'a>
impl<'a> UnsafeUnpin for ExecCtx<'a>
impl<'a> UnwindSafe for ExecCtx<'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