pub enum EnvPolicy {
Allowlist,
Blocklist,
}Expand description
Child environment filtering policy.
Determines which parent environment variables are inherited by the sandboxed child process.
Variants§
Allowlist
Pass only explicitly allowed parent environment variables.
Blocklist
Pass parent environment variables except explicitly denied keys.
Trait Implementations§
impl Copy for EnvPolicy
impl Eq for EnvPolicy
impl StructuralPartialEq for EnvPolicy
Auto Trait Implementations§
impl Freeze for EnvPolicy
impl RefUnwindSafe for EnvPolicy
impl Send for EnvPolicy
impl Sync for EnvPolicy
impl Unpin for EnvPolicy
impl UnsafeUnpin for EnvPolicy
impl UnwindSafe for EnvPolicy
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