pub struct NativeLaunchEnvironmentOverlay { /* private fields */ }Expand description
Backward-compatible environment-only overlay used by existing node flows.
This type also intentionally omits Debug. New PTY feature bundles should
use NativeInstanceLaunchOverlay when they need child argv.
Implementations§
Source§impl NativeLaunchEnvironmentOverlay
impl NativeLaunchEnvironmentOverlay
pub fn new( agent_id: AgentId, transport: TransportKind, environment: Vec<EnvMutation>, ) -> Result<Self, NativeLaunchProfileError>
Sourcepub fn new_context_root(
agent_id: AgentId,
transport: TransportKind,
environment: Vec<EnvMutation>,
) -> Result<Self, NativeLaunchProfileError>
pub fn new_context_root( agent_id: AgentId, transport: TransportKind, environment: Vec<EnvMutation>, ) -> Result<Self, NativeLaunchProfileError>
Creates the one unprofiled environment overlay authorized by Node-owned ContextPack materialization. All generic environment overlays remain bound to an explicitly selected native launch profile.
Sourcepub fn into_instance_with_extra_args(
self,
extra_args: Vec<OsString>,
) -> Result<NativeInstanceLaunchOverlay, NativeLaunchProfileError>
pub fn into_instance_with_extra_args( self, extra_args: Vec<OsString>, ) -> Result<NativeInstanceLaunchOverlay, NativeLaunchProfileError>
Promote an environment overlay into an instance overlay that also
carries argv (Codex -c network_access first slice merge).
Auto Trait Implementations§
impl Freeze for NativeLaunchEnvironmentOverlay
impl RefUnwindSafe for NativeLaunchEnvironmentOverlay
impl Send for NativeLaunchEnvironmentOverlay
impl Sync for NativeLaunchEnvironmentOverlay
impl Unpin for NativeLaunchEnvironmentOverlay
impl UnsafeUnpin for NativeLaunchEnvironmentOverlay
impl UnwindSafe for NativeLaunchEnvironmentOverlay
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