pub struct CodexAgentProvider { /* private fields */ }Implementations§
Source§impl CodexAgentProvider
impl CodexAgentProvider
pub fn new(options: CodexAgentProviderOptions) -> Self
Trait Implementations§
Source§impl AgentProvider for CodexAgentProvider
impl AgentProvider for CodexAgentProvider
Source§fn name(&self) -> &str
fn name(&self) -> &str
Stable provider name used in metadata/options, such as
debug, codex,
claude-code, opencode, or pi.Source§fn schema_mode(&self) -> AgentProviderSchemaMode
fn schema_mode(&self) -> AgentProviderSchemaMode
Declares how structured output schemas are handled by this provider.
Source§fn usage_mode(&self) -> AgentProviderUsageMode
fn usage_mode(&self) -> AgentProviderUsageMode
Declares whether this provider can report normalized usage.
Source§fn run<'life0, 'async_trait>(
&'life0 self,
input: AgentProviderRunInput,
) -> Pin<Box<dyn Future<Output = Result<AgentProviderResult>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn run<'life0, 'async_trait>(
&'life0 self,
input: AgentProviderRunInput,
) -> Pin<Box<dyn Future<Output = Result<AgentProviderResult>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Run one agent request and return the workflow-visible output plus optional
diagnostics/usage metadata.
Source§impl Clone for CodexAgentProvider
impl Clone for CodexAgentProvider
Source§fn clone(&self) -> CodexAgentProvider
fn clone(&self) -> CodexAgentProvider
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CodexAgentProvider
impl Debug for CodexAgentProvider
Source§impl Default for CodexAgentProvider
impl Default for CodexAgentProvider
Source§fn default() -> CodexAgentProvider
fn default() -> CodexAgentProvider
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CodexAgentProvider
impl RefUnwindSafe for CodexAgentProvider
impl Send for CodexAgentProvider
impl Sync for CodexAgentProvider
impl Unpin for CodexAgentProvider
impl UnsafeUnpin for CodexAgentProvider
impl UnwindSafe for CodexAgentProvider
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