pub struct LocalProcessOptions {
pub require_kernel: bool,
pub block_process_network: bool,
pub isolate_apply: bool,
}Expand description
Options for LocalProcessBackend.
Fields§
§require_kernel: boolFail if the platform cannot enforce kernel FS (default true).
block_process_network: boolBlock network for the sandboxed process via nono (default false).
isolate_apply: boolIf true (default), apply kernel sandbox only in children, not the host.
Trait Implementations§
Source§impl Clone for LocalProcessOptions
impl Clone for LocalProcessOptions
Source§impl Debug for LocalProcessOptions
impl Debug for LocalProcessOptions
Auto Trait Implementations§
impl Freeze for LocalProcessOptions
impl RefUnwindSafe for LocalProcessOptions
impl Send for LocalProcessOptions
impl Sync for LocalProcessOptions
impl Unpin for LocalProcessOptions
impl UnsafeUnpin for LocalProcessOptions
impl UnwindSafe for LocalProcessOptions
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