#[non_exhaustive]pub enum EnvPolicy {
Inherit,
Empty,
}Expand description
Command environment policy.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Inherit
Inherit parent environment variables, then apply explicit overrides.
Empty
Start from an empty environment, then apply explicit variables.
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