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 Confined
impl Move for Confined
impl RefUnwindSafe for Confined
impl Send for Confined
impl Sync for Confined
impl Unpin for Confined
impl UnsafeUnpin for Confined
impl UnwindSafe for Confined
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