pub struct NativeLaunchProfile { /* private fields */ }Expand description
Host-owned child-process environment policy, absent from the wire protocol.
The profile retains an opaque resolver rather than resolved values and does
not implement Debug, preventing routine diagnostics from exposing child
environment material.
Implementations§
Source§impl NativeLaunchProfile
impl NativeLaunchProfile
pub fn new( id: NativeLaunchProfileId, agent_id: AgentId, transport: TransportKind, owned_env_keys: Vec<OsString>, resolver: Arc<dyn NativeChildEnvironmentResolver>, ) -> Result<Self, NativeLaunchProfileError>
Sourcepub fn with_one_shot_session_persistence(
self,
policy: OneShotSessionPersistence,
) -> Result<Self, NativeLaunchProfileError>
pub fn with_one_shot_session_persistence( self, policy: OneShotSessionPersistence, ) -> Result<Self, NativeLaunchProfileError>
Selects whether an exact Codex OneShotText Pipe launch may retain its vendor session for later resume.
pub fn id(&self) -> &NativeLaunchProfileId
pub fn agent_id(&self) -> &AgentId
pub fn transport(&self) -> TransportKind
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for NativeLaunchProfile
impl !UnwindSafe for NativeLaunchProfile
impl Freeze for NativeLaunchProfile
impl Send for NativeLaunchProfile
impl Sync for NativeLaunchProfile
impl Unpin for NativeLaunchProfile
impl UnsafeUnpin for NativeLaunchProfile
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