pub enum ExecModeSetting {
Standard,
Hardened,
Custom,
}Variants§
Standard
Broad compatibility: full inherited env (minus strip list), raw output, and abort on dangerous injected names by default.
Hardened
Stricter preset: minimal inherited env, redacted output, and deny dangerous injected names.
Custom
Use persisted custom exec trust settings from config.json.
Trait Implementations§
Source§impl Clone for ExecModeSetting
impl Clone for ExecModeSetting
Source§fn clone(&self) -> ExecModeSetting
fn clone(&self) -> ExecModeSetting
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 ValueEnum for ExecModeSetting
impl ValueEnum for ExecModeSetting
impl Copy for ExecModeSetting
Auto Trait Implementations§
impl Freeze for ExecModeSetting
impl RefUnwindSafe for ExecModeSetting
impl Send for ExecModeSetting
impl Sync for ExecModeSetting
impl Unpin for ExecModeSetting
impl UnsafeUnpin for ExecModeSetting
impl UnwindSafe for ExecModeSetting
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