pub enum Confinement {
Seatbelt(PathBuf),
Landlock(i32),
}Expand description
How a sandboxed task’s commands are held to what it declares.
Variants§
Seatbelt(PathBuf)
macOS: a Seatbelt profile, through sandbox-exec.
Landlock(i32)
Linux: a Landlock rule set’s descriptor, which each command restricts itself to before it starts. It stays open while the run lasts.
Trait Implementations§
Source§impl Clone for Confinement
impl Clone for Confinement
Auto Trait Implementations§
impl Freeze for Confinement
impl RefUnwindSafe for Confinement
impl Send for Confinement
impl Sync for Confinement
impl Unpin for Confinement
impl UnsafeUnpin for Confinement
impl UnwindSafe for Confinement
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