pub struct BackendOptions {
pub allow_degraded: bool,
}Expand description
Runtime knobs the CLI feeds into Sandbox::new_with_options.
Fields§
§allow_degraded: boolProceed even when the backend cannot fully enforce the requested profile (e.g., Landlock without ABI v4 net support). The backend prints a single warning line naming the missing capability.
Trait Implementations§
Source§impl Clone for BackendOptions
impl Clone for BackendOptions
Source§fn clone(&self) -> BackendOptions
fn clone(&self) -> BackendOptions
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 moreimpl Copy for BackendOptions
Source§impl Debug for BackendOptions
impl Debug for BackendOptions
Source§impl Default for BackendOptions
impl Default for BackendOptions
Source§fn default() -> BackendOptions
fn default() -> BackendOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for BackendOptions
impl RefUnwindSafe for BackendOptions
impl Send for BackendOptions
impl Sync for BackendOptions
impl Unpin for BackendOptions
impl UnsafeUnpin for BackendOptions
impl UnwindSafe for BackendOptions
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