pub enum Mode {
Sandboxed(Sandbox),
Unsandboxed,
}Expand description
How commands run.
Variants§
Sandboxed(Sandbox)
Unsandboxed
The user turned the sandbox off (BYOB_SANDBOX=off): plain child processes, still
with the clean environment, timeout, output caps and group kill.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for Mode
impl Freeze for Modewhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
*const ArcInner<OnceLock<Enforcement>> is !null: Freeze,
PhantomData<ArcInner<OnceLock<Enforcement>>>: Freeze,
impl Move for Mode
impl RefUnwindSafe for Mode
impl Send for Mode
impl Sync for Mode
impl Unpin for Mode
impl UnsafeUnpin for Modewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const ArcInner<OnceLock<Enforcement>> is !null: UnsafeUnpin,
PhantomData<ArcInner<OnceLock<Enforcement>>>: UnsafeUnpin,
impl UnwindSafe for Mode
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