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§fn clone(&self) -> LocalProcessOptions
fn clone(&self) -> LocalProcessOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LocalProcessOptions
impl Debug for LocalProcessOptions
Source§impl Default for LocalProcessOptions
impl Default for LocalProcessOptions
Source§fn default() -> LocalProcessOptions
fn default() -> LocalProcessOptions
Returns the “default value” for a type. Read more
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