pub struct Confined {
pub spec: ProcessSpec,
pub mode: SandboxMode,
pub enforcement: Enforcement,
pub unmet: Vec<String>,
}Expand description
A command, after the sandbox has had its say.
Fields§
§spec: ProcessSpecWhat to actually run — usually the original program wrapped in the backend’s own.
mode: SandboxMode§enforcement: Enforcement§unmet: Vec<String>The parts of the policy this backend could not deliver, one per line,
in words a person can act on. Empty when enforcement is Full.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Confined
impl Freeze for Confinedwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<String>: Freeze,
PhantomData<(String, String)>: Freeze,
impl Move for Confined
impl RefUnwindSafe for Confined
impl Send for Confinedwhere
RawVecInner: Send,
impl Sync for Confinedwhere
RawVecInner: Sync,
impl Unpin for Confined
impl UnsafeUnpin for Confinedwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<(String, String)>: UnsafeUnpin,
impl UnwindSafe for Confinedwhere
RawVecInner: UnwindSafe,
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