pub struct CodexConnector { /* private fields */ }Expand description
Factory for Codex ACP process connections.
Implementations§
Source§impl CodexConnector
impl CodexConnector
Sourcepub fn with_config(config: CodexAgentConfig) -> Self
pub fn with_config(config: CodexAgentConfig) -> Self
Create with an explicit base config.
Sourcepub async fn connect(
&self,
config: CodexAgentConfig,
) -> Result<CodexAgentHandle, CodexConnectorError>
pub async fn connect( &self, config: CodexAgentConfig, ) -> Result<CodexAgentHandle, CodexConnectorError>
High-level connect (preferred for multi-step sessions).
Trait Implementations§
Source§impl Connector for CodexConnector
impl Connector for CodexConnector
Source§fn begin_open(&self, request: OpenConnection) -> PendingRawConnection
fn begin_open(&self, request: OpenConnection) -> PendingRawConnection
endpoint_ref: codex:stdio / stdio or path to ACP bridge binary.
Source§fn descriptor(&self) -> &ConnectorDescriptor
fn descriptor(&self) -> &ConnectorDescriptor
Immutable implementation descriptor.
Auto Trait Implementations§
impl Freeze for CodexConnector
impl RefUnwindSafe for CodexConnector
impl Send for CodexConnector
impl Sync for CodexConnector
impl Unpin for CodexConnector
impl UnsafeUnpin for CodexConnector
impl UnwindSafe for CodexConnector
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