pub struct ExecParams {
pub process_id: ProcessId,
pub argv: Vec<String>,
pub cwd: PathUri,
pub env_policy: Option<ExecEnvPolicy>,
pub env: HashMap<String, String>,
pub tty: bool,
pub pipe_stdin: bool,
pub arg0: Option<String>,
pub sandbox: Option<FileSystemSandboxContext>,
pub enforce_managed_network: bool,
pub managed_network: Option<ManagedNetworkSandboxContext>,
pub network_proxy: Option<RemoteNetworkProxyLaunchConfig>,
}Fields§
§process_id: ProcessIdClient-chosen logical process handle scoped to this connection/session. This is a protocol key, not an OS pid.
argv: Vec<String>§cwd: PathUriWorking directory URI, interpreted using the exec-server host’s path rules at launch time.
env_policy: Option<ExecEnvPolicy>§env: HashMap<String, String>§tty: bool§pipe_stdin: boolKeep non-tty stdin writable through process/write.
arg0: Option<String>Optional process-visible argv0 override. Values such as codex-linux-sandbox are command
names rather than paths, so this is not a PathUri.
sandbox: Option<FileSystemSandboxContext>Portable sandbox intent. Concrete wrapper argv is resolved by the exec-server.
enforce_managed_network: boolWhether the eventual executor-side sandbox must enforce managed networking.
managed_network: Option<ManagedNetworkSandboxContext>Optional details for enforcing managed networking without a live proxy object.
When enforce_managed_network is true and these details are absent, the executor must
continue to fail closed. This preserves compatibility with older clients.
network_proxy: Option<RemoteNetworkProxyLaunchConfig>Optional instructions for starting an executor-local managed-network proxy.
Trait Implementations§
Source§impl Clone for ExecParams
impl Clone for ExecParams
Source§fn clone(&self) -> ExecParams
fn clone(&self) -> ExecParams
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ExecParams
impl Debug for ExecParams
Source§impl<'de> Deserialize<'de> for ExecParams
impl<'de> Deserialize<'de> for ExecParams
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>,
impl Eq for ExecParams
Source§impl PartialEq for ExecParams
impl PartialEq for ExecParams
Source§impl Serialize for ExecParams
impl Serialize for ExecParams
impl StructuralPartialEq for ExecParams
Auto Trait Implementations§
impl Freeze for ExecParams
impl RefUnwindSafe for ExecParams
impl Send for ExecParams
impl Sync for ExecParams
impl Unpin for ExecParams
impl UnsafeUnpin for ExecParams
impl UnwindSafe for ExecParams
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
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§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
key and return true if they are equal.impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more