pub struct SandboxDebugResult { /* private fields */ }Expand description
Result of a sandbox debug test.
Implementations§
Source§impl SandboxDebugResult
impl SandboxDebugResult
Sourcepub fn sandbox_active(&self) -> bool
pub fn sandbox_active(&self) -> bool
Whether the sandbox restrictions were actually applied.
Callers must check this before treating success as evidence that the
sandbox allowed an operation: an unavailable sandbox runs no command.
Trait Implementations§
Auto Trait Implementations§
impl Forget for SandboxDebugResult
impl Freeze for SandboxDebugResult
impl Move for SandboxDebugResult
impl RefUnwindSafe for SandboxDebugResult
impl Send for SandboxDebugResult
impl Sync for SandboxDebugResult
impl Unpin for SandboxDebugResult
impl UnsafeUnpin for SandboxDebugResult
impl UnwindSafe for SandboxDebugResult
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