pub enum EnvironmentPolicy {
Scrubbed,
Inherited,
}Expand description
How the analyzer’s process environment was prepared.
Variants§
Scrubbed
Scrubbed: no ambient credentials are passed through.
Inherited
The ambient environment was inherited as-is.
Trait Implementations§
Source§impl Clone for EnvironmentPolicy
impl Clone for EnvironmentPolicy
Source§fn clone(&self) -> EnvironmentPolicy
fn clone(&self) -> EnvironmentPolicy
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 EnvironmentPolicy
Source§impl Debug for EnvironmentPolicy
impl Debug for EnvironmentPolicy
Source§impl Default for EnvironmentPolicy
impl Default for EnvironmentPolicy
Source§fn default() -> EnvironmentPolicy
fn default() -> EnvironmentPolicy
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EnvironmentPolicy
impl<'de> Deserialize<'de> for EnvironmentPolicy
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
impl Eq for EnvironmentPolicy
Source§impl PartialEq for EnvironmentPolicy
impl PartialEq for EnvironmentPolicy
Source§impl Serialize for EnvironmentPolicy
impl Serialize for EnvironmentPolicy
impl StructuralPartialEq for EnvironmentPolicy
Auto Trait Implementations§
impl Freeze for EnvironmentPolicy
impl RefUnwindSafe for EnvironmentPolicy
impl Send for EnvironmentPolicy
impl Sync for EnvironmentPolicy
impl Unpin for EnvironmentPolicy
impl UnsafeUnpin for EnvironmentPolicy
impl UnwindSafe for EnvironmentPolicy
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.