pub enum RunEnv {
Inherited,
Scrubbed,
}Expand description
sandbox.env (ADR-105): what openmoat run passes on of the environment
it is started from. Absent, the default, which is RunEnv::DEFAULT.
Variants§
Inherited
Every inherited variable, a brokered secret’s excepted.
Scrubbed
Only the allowlist: a base every program needs, the agent’s own names
from its spec, sandbox.env_allow and --env.
Implementations§
Trait Implementations§
impl Copy for RunEnv
Source§impl<'de> Deserialize<'de> for RunEnv
impl<'de> Deserialize<'de> for RunEnv
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 RunEnv
impl StructuralPartialEq for RunEnv
Auto Trait Implementations§
impl Forget for RunEnv
impl Freeze for RunEnv
impl Move for RunEnv
impl RefUnwindSafe for RunEnv
impl Send for RunEnv
impl Sync for RunEnv
impl Unpin for RunEnv
impl UnsafeUnpin for RunEnv
impl UnwindSafe for RunEnv
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