#[non_exhaustive]pub enum ProcessEnvPolicy {
Empty,
}Expand description
Minimal process environment override policy for SP1.
This describes environment changes requested by the tool call. It does not decide whether the selected process runner inherits its own current environment; that is part of the runner/sandbox boundary chosen by the runtime builder.
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.
Empty
No tool-requested environment overrides.
Implementations§
Trait Implementations§
Source§impl Clone for ProcessEnvPolicy
impl Clone for ProcessEnvPolicy
impl Copy for ProcessEnvPolicy
Source§impl Debug for ProcessEnvPolicy
impl Debug for ProcessEnvPolicy
Source§impl Default for ProcessEnvPolicy
impl Default for ProcessEnvPolicy
Source§impl<'de> Deserialize<'de> for ProcessEnvPolicy
impl<'de> Deserialize<'de> for ProcessEnvPolicy
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 ProcessEnvPolicy
Source§impl PartialEq for ProcessEnvPolicy
impl PartialEq for ProcessEnvPolicy
Source§impl Serialize for ProcessEnvPolicy
impl Serialize for ProcessEnvPolicy
impl StructuralPartialEq for ProcessEnvPolicy
Auto Trait Implementations§
impl Forget for ProcessEnvPolicy
impl Freeze for ProcessEnvPolicy
impl Move for ProcessEnvPolicy
impl RefUnwindSafe for ProcessEnvPolicy
impl Send for ProcessEnvPolicy
impl Sync for ProcessEnvPolicy
impl Unpin for ProcessEnvPolicy
impl UnsafeUnpin for ProcessEnvPolicy
impl UnwindSafe for ProcessEnvPolicy
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.