pub struct PlatformSandbox { /* private fields */ }Implementations§
Source§impl LinuxSandbox
impl LinuxSandbox
Sourcepub fn plan(&self, profile: &SandboxProfile) -> SandboxPlan
pub fn plan(&self, profile: &SandboxProfile) -> SandboxPlan
Translate a profile into a landlock ruleset (Phase 1: returns the counts so we can unit-test the translation; actual ruleset object is wired in Phase 2 when the child-spawn glue lands).
Trait Implementations§
Source§impl Debug for LinuxSandbox
impl Debug for LinuxSandbox
Source§impl Default for LinuxSandbox
impl Default for LinuxSandbox
Source§fn default() -> LinuxSandbox
fn default() -> LinuxSandbox
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LinuxSandbox
impl RefUnwindSafe for LinuxSandbox
impl Send for LinuxSandbox
impl Sync for LinuxSandbox
impl Unpin for LinuxSandbox
impl UnsafeUnpin for LinuxSandbox
impl UnwindSafe for LinuxSandbox
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