pub struct BackendOptions {
pub allow_degraded: bool,
pub allow_insecure_network: bool,
}Expand description
Runtime knobs the CLI feeds into Sandbox::new_with_options.
Fields§
§allow_degraded: boolLegacy compatibility bit retained for launcher payload compatibility. It maps only to insecure Linux network compatibility.
allow_insecure_network: boolExplicit opt-in to Linux’s destination-port-only compatibility mode. This never disables filesystem or privilege-escalation lints.
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
Source§impl<'de> Deserialize<'de> for BackendOptions
impl<'de> Deserialize<'de> for BackendOptions
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. 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