pub struct NativeInstanceLaunchOverlay { /* private fields */ }Expand description
Host-only launch mutations applied to one exact native PTY instance.
The overlay does not implement Debug because environment values and argv
may contain secret material. It is validated and retained without crossing
the wire or durable state boundaries.
Implementations§
Source§impl NativeInstanceLaunchOverlay
impl NativeInstanceLaunchOverlay
pub fn new( agent_id: AgentId, transport: TransportKind, environment: Vec<EnvMutation>, extra_args: Vec<OsString>, ) -> Result<Self, NativeLaunchProfileError>
Source§impl NativeInstanceLaunchOverlay
impl NativeInstanceLaunchOverlay
Sourcepub fn append_extra_args(
&mut self,
extra_args: Vec<OsString>,
) -> Result<(), NativeLaunchProfileError>
pub fn append_extra_args( &mut self, extra_args: Vec<OsString>, ) -> Result<(), NativeLaunchProfileError>
Append validated argv (Codex -c network_access merge onto an
existing instance overlay).
Auto Trait Implementations§
impl Freeze for NativeInstanceLaunchOverlay
impl RefUnwindSafe for NativeInstanceLaunchOverlay
impl Send for NativeInstanceLaunchOverlay
impl Sync for NativeInstanceLaunchOverlay
impl Unpin for NativeInstanceLaunchOverlay
impl UnsafeUnpin for NativeInstanceLaunchOverlay
impl UnwindSafe for NativeInstanceLaunchOverlay
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