pub struct ProfileOverrides {
pub allow_write: Vec<SandboxPath>,
pub deny_read: Vec<SandboxPath>,
pub allow_read: Vec<SandboxPath>,
pub allow_domains: Vec<DomainPattern>,
pub deny_domains: Vec<DomainPattern>,
pub allow_exec: Vec<SandboxPath>,
pub deny_exec: Vec<SandboxPath>,
pub allow_fetch: Vec<DomainPattern>,
pub allow_all_network: bool,
pub no_proxy: bool,
pub allow_degraded: bool,
pub env: HashMap<String, String>,
}Expand description
Overrides from CLI flags that get merged into the resolved profile.
Fields§
§allow_write: Vec<SandboxPath>§deny_read: Vec<SandboxPath>§allow_read: Vec<SandboxPath>§allow_domains: Vec<DomainPattern>§deny_domains: Vec<DomainPattern>§allow_exec: Vec<SandboxPath>§deny_exec: Vec<SandboxPath>§allow_fetch: Vec<DomainPattern>§allow_all_network: bool§no_proxy: bool§allow_degraded: bool§env: HashMap<String, String>Trait Implementations§
Source§impl Clone for ProfileOverrides
impl Clone for ProfileOverrides
Source§fn clone(&self) -> ProfileOverrides
fn clone(&self) -> ProfileOverrides
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 ProfileOverrides
impl Debug for ProfileOverrides
Source§impl Default for ProfileOverrides
impl Default for ProfileOverrides
Source§fn default() -> ProfileOverrides
fn default() -> ProfileOverrides
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ProfileOverrides
impl RefUnwindSafe for ProfileOverrides
impl Send for ProfileOverrides
impl Sync for ProfileOverrides
impl Unpin for ProfileOverrides
impl UnsafeUnpin for ProfileOverrides
impl UnwindSafe for ProfileOverrides
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